Tag: programming

Yet another Maybe monad for Java

A better one of course – based on cglib’s Enhancer functionality. I wanted to extract some optional elements from an XML file and (if present) assign their contents to fields of my class. In the beginning I started by using try-catch but it soon became unmanageable (and painful to look […]