May 31, 2012

Fluent Guava

It’s been far too long since I’ve written anything on this site. I’ve got plenty of topics, it’s just finding the time to write something down. This one comes from a comment on one of my previous posts about Guava and Modern Java. Guava has recently been upgraded to version 12 and along with this release comes the idea of a Fluent Interface as described by Martin Fowler and Eric Evans. ... Read more

January 10, 2012

Lambda Magic?

I often hear people complain about Java (I’m not excluding myself from this) about how restrictive the language can be compared to others. We all know how noisy it is when working with functional libraries. Wouldn’t it be great if we had a lambda style syntax in Java? This is where Enumerable for Java comes in. This has been developed by Håkan Råberg who describes the library as: “Ruby/Smalltalk style internal iterators for Java 5 using bytecode transformation to capture expressions as closures. ... Read more

January 1, 2012

Modern Java - The Totally Lazy Way

A few weeks ago I blogged about Modern Java using Googles Guava to write functional programs. One of the comments on that blog was by a good friend on mine Franck Rasolo. He suggested I took a look at Totally Lazy by Daniel Bodart as an alternative to Guava. So I decided to implement the same functional calculator I wrote in the previous post using totally lazy instead and here are my findings. ... Read more

December 4, 2011

Modern Java

I recently attended XPDay London 2011 organised by the great eXtreme Tuesday Club and had a great 2 days. Many of the talks I went to were more exploratory than anything but sometimes it’s a great way to learn more. One of the early sessions was hosted by Julian Kelsey @scrawlings and Andrew Parker @aparker42 and was predominately about refactoring Java into a more function style, and another by Nat Pryce @natpryce about test driving function programming which in the end turned into something called Modern Java. ... Read more

© Tony Lawrence 2017 - Waffly Bollocks