News for hackers. Stuff that matters.
Re:Multi-Paradigm Languages by sriku on Monday November 23, 2020 @09:43AM (#25187194)
One fantastic multi-paradigm-from-the-start language that often gets missed out is Mozart/Oz - http://mozart2.org . This language is used in the awesome book "Concepts, Techniques, and Models of Computer Programming" by Peter van Roy and Seif Haridi - https://www.info.ucl.ac.be/~pvr/book.html
Re:Multi-Paradigm Languages by nextos on Tuesday November 24, 2020 @08:26AM (#25198213)
Mozart/Oz is so underrated. It's a shame it never took off.

AliceML was also an interesting hybrid of Oz + SML.

Re:Multi-Paradigm Languages by mncharity on Tuesday November 24, 2020 @09:47AM (#25198860)
> Mozart/Oz is so underrated. It's a shame it never took off.

The documentation was a major barrier. More so than any other language (trying for public adoption) that I can immediately think of. A textbook-expensive dead-tree book as onboarding path. With the usual pattern of commercial thing reducing incentive to create accessible thing, without fully meeting the need for same. And online documentation that was fragmented and poorly integrated. So "looking up" a topic would involve groveling over a pile of documents, and lecture notes and such, searching out pieces of the puzzle, and pulling them together yourself. So much niftiness, so inaccessibly documented. :/ I once massaged together a distributed table of contents[1] (long since link rotted), which might give a feel for it. Part of the problem was M/Oz was at heart a teaching and academic effort - think of early Racket.

One of the hardest things about capturing history (and perhaps a fruitful way to teach it?) is the "wait, they wat?!!?". Picking up a language now, with expectations of how language and ecosystem are documented, and HN kibitzing on "the landing page should be improved by ...", reflects a big cultural learning process on how to do this well. Mozart/Oz, didn't.

[1] http://www.vendian.org/oz/wiki/index.cgi?VirtualManual

Re:Multi-Paradigm Languages by Wildgoose on Tuesday November 24, 2020 @06:40AM (#25197547)
Just wanted to add my recommendation for Concepts, Techniques, and Models of Computer Programming" by Peter van Roy and Seif Haridi.

This is an amazingly thorough, comprehensive and erudite work. Highly recommended.

Re:Multi-Paradigm Languages by rramadass on Tuesday November 24, 2020 @12:18AM (#25195532)
This is a great and mind expanding book/System. However since Mozart/Oz does not seem to be used that much in the "real world", i think it maybe worthwhile to investigate application of the same ideas to a mix of Erlang and C/C++.
Re:Multi-Paradigm Languages by edfalis on Tuesday November 24, 2020 @09:44AM (#25198832)
Although it's nominally about C++, this book looks at the design issues for selecting among paradigms based on application characteristics. IE it generalizes to other languages capable of supporting multiple paradigms.

https://www.amazon.com/Multi-Paradigm-Design-C-James-Coplien...