The point is missed

Museum of public mistakes and unfinished projects

Posts Tagged ‘Ruby

Phasing over from java to scala pt. 2 – Buildr

with 2 comments

Yesterday I started converting parts of my pet-project to Scala. Without any other ambition than to make the java-class compile in Scala, roughly 30 lines of java-code became 18 lines of Scala code! Most of the save could be attributed to constructor properties that removed the need for declared fields and assigning them in a constructor. I also managed to run my old test-suite with my new scala replacement together with the rest of the java-code in eclipse. Talk about seamless transition! Read the rest of this entry »

Written by johlrogge

September 2, 2008 at 5:13 pm

Posted in java, Ruby, scala

Tagged with , , ,