News for hackers. Stuff that matters.
Re:Why I absolutely love java by democracy on Tuesday February 08, 2011 @08:12PM (#2195731)
JAVA

for (int i:new int[]{1,2,3,4}) System.out.print(i%2==0?i:"");

Re:Why I absolutely love java by lfborjas on Tuesday February 08, 2011 @08:27PM (#2195792)
hehe, clever! although we are building a new list in the other languages, we're never using it, so this is just as good in the immediate context.