Who’s Ruby?

shit = { /* stuff to do */ }
while shit
shit()
end

There’s a default argument $_
Wouldn’t that pick up the value of shit, since it was the last assignment?
while $_
$_()
end

But then, really, since it is the default argument, can’t you just do

while
$_()
end

or, really, since it’s the default,
while
end

See? Ruby writes itself!

Leave a Reply






RSS

People I Know

Random Stuff

Recently Listened

Komeda, Beastie Boys, Possum Dixon, Men at Work, Yelle, Nirvana, Frank Black and the Catholics, Grace Jones, Beck, Cansei de Ser Sexy, Ol' Dirty Bastard, Melt-Banana, Black Francis, Walt Mink

19 queries. 0.126 seconds.

Technorati Profile