News for hackers. Stuff that matters.
Re:Design Principles Behind Smalltalk (1981) by ChrisMarshallNY on Saturday June 13, 2020 @09:32AM (#23509232)
Smalltalk became Objective-C.

Objective-C has informed Swift.

Long live Smalltalk.

Re:Design Principles Behind Smalltalk (1981) by ibiza on Saturday June 13, 2020 @11:28AM (#23510099)
Each link in this lineage is tenuous. Objective-C took Smalltalk's call syntax, its class def (in a sense?), and its late fn binding, but little else. It certainly didn't take what made Smalltalk, Smalltalk. Full disclosure: I really like both languages.

I struggle to find the mapping between Objective-C and Swift, other than "same company" and must preserve backwards compatibility.

Smalltalk became Squeak. Long live Squeak. :)

Re:Design Principles Behind Smalltalk (1981) by ChrisMarshallNY on Saturday June 13, 2020 @01:28PM (#23511039)
I think that Swift got a lot of its "philosophical" structure from ObjC.

After Swift was released, I understood why ObjC 2.0 was written the way that it was. It was modified to allow the standard libraries and SDKs to transition to Swift.

I remember coming from C++ (CodeWarrior/PowerPlant), and encountering ObjC, and going "Whiskey Tango Foxtrot?".

After a while, though, I got used to it, and actually started to enjoy ObjC, in a way that C++ never got me.

I enjoy Swift, even more.

After years of writing code in languages I didn't really like (C++/PHP), Swift is something that I actually enjoy. I suspect that Smalltalk, and its affect, are responsible for the "enjoyment" factor of Swift.

I consider most of the lineage to be "in spirit," more than "in detail."

It's quite easy to shoot holes, if we get particular.

Re:Design Principles Behind Smalltalk (1981) by wool_gather on Saturday June 13, 2020 @01:35PM (#23511095)
If Swift didn't have a non-negotiable -- because of its deployment on Apple platforms -- requirement for strong interop with ObjC, I firmly believe it would have been even more like Rust than it already is.

The flexibility that's enabled directly by ObjC's simplicity is just not a goal for Swift.

Re:Design Principles Behind Smalltalk (1981) by ChrisMarshallNY on Saturday June 13, 2020 @02:06PM (#23511322)
I've never encountered a language as flexible as Swift.
Re:Design Principles Behind Smalltalk (1981) by superdisk on Saturday June 13, 2020 @11:40AM (#23510200)
Swift basically stripped out what was left of Smalltalk from Objective C.