News for hackers. Stuff that matters.
Re:Functional programming jargon in plain English by imtringued on Monday July 04, 2022 @08:56AM (#31976521)
public static void main(String[] args)

Why does this come up so often when people talk about Java?

Because beginners are confronted with the IO Monad if they want to write a Hello world program.

Monad is a typeclass that any datatype can implement. Monads have a then or flatmap like function that takes a Monad and a function that operates on the contents of the monad but also returns another monad of the same type which is then combined according to the implementation details of the specific monad that implements the monad typeclass.

There are no comments on this comment yet.