Wiping away the tears and snuggling up with Eidhof’s Advanced #Swift.
Every once and awhile, usually towards the end of a chapter, there’s a sentence or two that are just too square for me to easily squeeze through my round eye holes.
“Under the hood, instance methods are modeled as functions that, given an instance, return another function that then operates on the instance.”
📖🧱➡️🫣💦
Read. Thunk. Thunk. Thunk. Ahhhhhhh.
Maybe it’s because of the lack of ABI stability; or because early versions had poor support for multiple protocol conformance; or the (still) immature state of the debug tools; or the fact that, for a very long time, while it let you do old things in a new way, it didn’t actually let you do anything new; or maybe because after a decade+ of C supersets, #Swift feels like safety scissors.
@nicole If it makes you feel better, I learned “opsimath” ten seconds ago and I’m 44!
@pauline Oh no you didn’t: you learned it in the LawBox office in Berkeley, right after I showed off my then brand-new party trick of knowing the order of the months of the year. #latetoeveryparty 📆🥳
Or maybe it’s just because, on my character sheet, there is one tag that stands above them all: #opsimath. 😌
Yeah, that’s probably it. #latetoeveryparty