In Swift, functions are held by reference. Further, when a function is assigned to some variable/constant, any state it has via closed-over variables isn’t copied; instead that state is shared similar to object references.
Note: Cross-posted from my primary blog.
Over the past few weeks, I have been seeing a lot of posts about how
Facebook Home is a flop. Bloggers, tech…