Re:A love letter to Objective-C
by waynecochran on Monday June 26, 2023 @03:31AM
(#36476782)
No mention of smalltalk? Essentially Objective-C was smalltalk message passing bolted onto C. Then you had Objective-C++ which allowed a whole new language rolled in. I still find myself writing MacOS apps in Objective-C/C++ which allows me to use all the fantastic C++ libraries and frameworks that exist. No doubt Swift is a better language that gives you strong typing and functional constructs, but I’ll always have a place in my heart for Objective-C.
[ Parent
| on HN ]
Ruby is also based on Smalltalk. The author is just showing ignorance of where things come from.
Thoughtbot is famously a Ruby shop since their inception, I don’t know that this detail just happened to slip their mind due to ignorance.
Why would they mention smalltalk? The article is framed from the writer's specific experience with both languages, not as a historical deep dive into the progenitors of Objective-C.
Granted these historical details are super interesting, but feels far from the intent of the article.
Re:A love letter to Objective-C
by waynecochran on Monday June 26, 2023 @01:18PM
(#36482750)
Because that is in essence why Obj-C works the way it does -- e.g., has all the square brackets. Obj-C is the child of smalltalk and C. It wasn't created in a vacuum.