News for hackers. Stuff that matters.
Re:What features of Java have been dropped in Scala? by mark242 on Tuesday August 09, 2011 @12:38PM (#2864642)
Actually, the functional alternative in scala is this:

persons.filter(_.age >= 18).foreach(p => { (code here) });

That is way, way more readable, imho.

There are no comments on this comment yet.