3 ms·
f = let s1 = 23 in let s2 = 42 in s2 Grammatically, this reminded me of Erlang. Hence, then indirectly of Prolog. And now that I think about it, Prolog is cons
by brudgers 9y ago
f = let s1 = 23 in let s2 = 42 in s2
Grammatically, this reminded me of Erlang. Hence, then indirectly of Prolog. And now that I think about it, Prolog is considered a logic programming language. I'm not advocating logic programming lanaguages, but it seems that it might stand to reason that the features of logic programming languages facilitate reasoning about programs written in them.
Looping back, Erlang doesn't generate discussions about monads. Erlang is engineered so programmers don't think about monads. Erlang programmers just use them. It's transparent. It's non-controversial because Erlang doesn't stake out an intellectual argument.
- macintux 9y agoWhen I worked at Basho, the senior Erlang developers definitely thought/talked about monads and how useful they could be in certain situations. (I, alas, was and remain insufficiently clueful about monads to understand the discussions.)
- mwkaufma 9y agoErlang is pure, but it's not lazy, so it's not an issue like in Haskell.
- brudgers 9y agoI'm not sure there is anything lazier than "Let it crash." Erlang is lazy at the question in addition to being lazy at the answer. However, all that laziness is transparent because Erlang is an engineering artifact not an academic artifact.