Hacker News new | ask | show | jobs
by voidhorse 489 days ago
True, but I would not be surprised if the vast majority of Java programmers have no clue what a monad is.
2 comments

> no clue what a monad is.

which is a good opportunity to introduce said nomenclature, and ideas to them, rather than renaming said method to something more "palatable".

In my experience just name-dropping monads in non functional-programming oriented circles will get weird looks.

EDIT: I would even argue, as a fan of FP, that it's not immediately obvious how this terminology or concept even helps, from the point of view of a non purely functional programming language

Because the alternative to using one name is using more than one name. These days I'm pretty sure I'm using `select` to mean `map`.
You don’t need to mention monads, just imagine an Optional as a list with at most one element.