News for hackers. Stuff that matters.
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.
Re:A love letter to Objective-C by pasc1878 on Monday June 26, 2023 @03:46AM (#36476871)
Ruby is also based on Smalltalk. The author is just showing ignorance of where things come from.
Re:A love letter to Objective-C by mhoad on Monday June 26, 2023 @03:54AM (#36476937)
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.
Re:A love letter to Objective-C by halogen64 on Monday June 26, 2023 @04:44AM (#36477276)
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.