Link Details

Link 101434 thumbnail
User 47358 avatar

By ss93845
via stephan.reposita.org
Published: Aug 06 2008 / 15:21

There has been some discussion going on in the blogosphere about monads, and especially about the Haskell Maybe monad or the Scala option class. Those are ways to prevent problems with NULL and NPEs that Java lacks. A Java Option implementation is more verbose but can be reduced sometimes with using "for" and Iterable.
  • 7
  • 0
  • 1033
  • 291

Comments

Add your comment
User 111696 avatar

bloid replied ago:

0 votes Vote down Vote up Reply

Add your comment


Html tags not supported. Reply is editable for 5 minutes. Use [code lang="java|ruby|sql|css|xml"][/code] to post code snippets.

Voters For This Link (7)



Voters Against This Link (0)