News for hackers. Stuff that matters.
Re:Embedding Objective-Smalltalk by joelkevinjones on Friday May 15, 2020 @01:26AM (#23189169)
This brings to mind an expression I wanted to have put on a T-shirt around 1997:

On the front: The more I use Java On the back: The more I love Smalltalk

This was while I was in the middle of writing a compiler front-end and a code generator for a JVM. I decided to write the compiler in Java (eat your own dog food), and the exact kind of do. every. step. at. a. time. in the example here made me long for select: []

Re:Embedding Objective-Smalltalk by dep_b on Friday May 15, 2020 @03:44AM (#23189879)
It looks a lot like functional code actually. I used to do this stuff with F# and Elixir. Arrows are quite effective to point out where the data is going.
Re:Embedding Objective-Smalltalk by mpweiher on Friday May 15, 2020 @12:43PM (#23194227)
Yeah, this is mostly OO code, and good OO code tends to be not all that dissimilar to good FP code.

You might find Gilad Bracha's talk interesting:

https://www.infoq.com/presentations/functional-pros-cons/

Re:Embedding Objective-Smalltalk by marvel_boy on Friday May 15, 2020 @03:12AM (#23189727)
"both without a hitch and the latter shrugging of a Hacker News "Hug of Death" without even the hint of glitch."

Not an easy feat, indeed. Respect !

Re:Embedding Objective-Smalltalk by ngcc_hk on Friday May 15, 2020 @10:58AM (#23192917)
Got a bit feel of Objective C. Related?
Re:Embedding Objective-Smalltalk by mpweiher on Friday May 15, 2020 @12:34PM (#23194112)
Did the name give it away? :-)

Yes, as the peer comment noted, the "Objective" part of the Objective-C hybrid language was modelled after Smalltalk.

If you need more information about how it all connects, you can check out

https://blog.metaobject.com/2019/12/the-4-stages-of-objectiv...

and

http://objective.st/

Re:Embedding Objective-Smalltalk by aphextron on Friday May 15, 2020 @11:32AM (#23193346)
Objective-C was explicitly modelled after Smalltalk.