|
|
|
|
|
by js8
3412 days ago
|
|
> Mathematicians discovered the existence of these structures first and gave them names. Programmers also came across them, and there is no shame in giving the structures better names more appropriate to their own field - whether mathematicians like it or not. Actually this is not what happened here - when programmers added the concepts you mentioned, they were very much aware of the mathematical counterparts. Regardless, I think it is a shame to call the same thing differently just for the sake of it. > They are not, and have been employed by couple of generations of programmers to create useful software. I can somewhat recommend this presentation: https://www.youtube.com/watch?v=Rmer37g9AZM The concepts presented are very sound, however the presentation could be a little better. |
|
Yes, I am aware of it. I have read Wadler's papers pointing out that list comprehensions are a specific instance of a Monad and proposing Monads as a way to structure functional programs. But I wish the Haskell did not directly copy the term Monad into the language, setting off this bad precedent. Like CAR and CDR in Lisp, unfortunately, this one will stay in Haskell. Hopefully future languages will introduce more sensible terminology, like how Lisps have evolved over the years.
> Regardless, I think it is a shame to call the same thing differently just for the sake of it.
We have to agree to diasgree on this. IMO the intended usage of a concept should dictate its name, not how humans first arrived at it.