News for hackers. Stuff that matters.
Re:Rush: the ruby shell by thwarted on Tuesday January 11, 2011 @12:25AM (#2091009)
Agreed.

   myproj['**/*.rb'].search(/^\s*class/).lines.size
And they say perl looks like line noise. The ratio of ispunct to isalpha in that line is 2:3.
Re:Rush: the ruby shell by datapimp on Tuesday January 11, 2011 @03:48AM (#2091385)
the majority of that punctuation isn't part of the ruby syntax, to be fair.
Re:Rush: the ruby shell by thwarted on Tuesday January 11, 2011 @04:19AM (#2091432)
Good point. These are idiomatic constructs that require familiarity in order to effectively use them.