Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Martin Fowler wrote an article in his Bliki on Closures. He uses Ruby as demonstration language for closures. On this page the same example is nearly written in Groovy:

The whole example with class Employee (with an dispensible, but convenient, because boosting readability, toString() method), an example list with four employees and some explaining assertions (Dierk would call this Inline Unittests):

  • No labels