kconner.com

I moved from Objective-C to Swift right about five years ago, so this NSHipster article about method dispatch was a nice nostaglia trip. If you’ve written code but you haven’t spent a lot of time with Objective-C, it’s an excellent illustration of message-passing, which is a dynamic dispatch pattern that differs from the vtables you’d find in C++ or in pure Swift classes.

I’m sorry that I long ago coined the term “objects” for this topic because it gets many people to focus on the lesser idea. The big idea is “messaging”…

—Alan Kay

18 Dec 2019