Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Rubyfags

Name: Anonymous 2011-05-13 11:13

Your language is shit and the programs you write are slow. Switch to Python and be enlightened.

Name: Anonymous 2011-05-25 2:05

>>50

# Ruby has many ways to do the same thing
# You can even replace the do and end with { and }
for i in 1..5 do print "hi" end
(1..5).each do print "hi" end
1.upto(5) do print "hi" end
5.times do print "hi" end

And in fact it's entirely legitimate to enclose any one of those lines of code in parenthesis and ask ruby for it's class like so

print ((5.times do print "hi\n" end).class)

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List