Found 42 bookmarks
Custom sorting
Never
Never
Making a claim that something will never be the case can feel like an invitation for the universe to prove otherwise. Fortunately for us, Swift lives up to this higher standard thanks to the unlikeliest of types.
·nshipster.com·
Never
Void
Void
Void has no members: no methods, no values, not even a name. It’s a something more nothing than nil.
·nshipster.com·
Void
On Linked Lists in the Standard Library
On Linked Lists in the Standard Library
“@jckarter @dimsumthinking And then you have to ask what kind of linked list? Singly-linked persistent, doubly-linked mutable? The educational argument is strong, but I suspect the most educational part of a linked list is writing your own.”
·mobile.twitter.com·
On Linked Lists in the Standard Library
Reducer Composition
Reducer Composition
Check out @mbrandonw's talk on how reducers compose, which covers how you can build up with a big ole "appReducer" out of all the smaller reducers in your code base:https://t.co/VFkcZyVxrr— Stephen Celis (@stephencelis) October 20, 2018
·twitter.com·
Reducer Composition
An argument for free functions
An argument for free functions
“@cocoaphony Right. I'm not opposed to methods, but there's a giant class of operations that do not have a "primary" object that they're acting on, and simply make more sense written as free functions because of this.”
·mobile.twitter.com·
An argument for free functions