News for hackers. Stuff that matters.

unauth

Re:Lets just drop the 5 from Perl 5 on Monday June 27, 2011 @08:46PM (#2703571)
web development mostly. Big Japanese companies use perl for their backend and you can find many blog entries about perl in Japanese.
Re:Poll: Have you moved from JavaScript to CoffeeScript? on Thursday June 23, 2011 @12:00AM (#2686601)
if order does not matter:

var sum=0,i=list.length; while(i--) sum += list[i].amount;

if it does: var sum=0,i=0,ln=list.length; while (ln-- && (sum += list[i++].amount));

but the for in syntax is nicer indeed.