Re:Functional programming is not popular because it is weird...
by Stratoscope on Tuesday September 14, 2021 @06:09AM
(#28522510)
Oh, how I miss BLISS. It was the first language I learned that got rid of the silly distinction between statements and expressions. What a revelation! Everything was an expression. Everything returned a value. I guess a bit like Ruby, but 40 years ago.
https://en.wikipedia.org/wiki/BLISS
https://www2.cs.arizona.edu/classes/cs520/spring06/bliss.pdf
Re:Functional programming is not popular because it is weird...
by CRConrad on Wednesday September 15, 2021 @07:35PM
(#28545883)
> Everything returned a value. I guess a bit like Ruby
Like C, isn't it? Assignments return values! Still feels weird AF to those of us who started on BASIC and Pascal.
Re:Functional programming is not popular because it is weird...
by fancy_hammer on Tuesday September 14, 2021 @06:46AM
(#28522750)
Elixir possibly has some of this flavour. If and switch are both expressions and return values. I dig it.
Had UNIX been written in PL/I, Mesa or BLISS, those languages would be "C" today.