3 ms·
It's interesting that rails is headed toward whitespace significance in all its file formats, yet the most apparent difference between ruby and it's main rival
by aneth 16y ago
It's interesting that rails is headed toward whitespace significance in all its file formats, yet the most apparent difference between ruby and it's main rival Python is that whitespace is not significant.
Between yaml, sass (although not scss), haml, and coffescript, is the next step a version of ruby getting rid of end statements in favor of whitespace? I've often dreamed of such a thing.
module Foo
module Bar
class Fubar
def boom
p "I like monkey patches"
end
end
end
end
Ick!
- generalk 16y ago> It's interesting that rails is headed toward whitespace > significance in all its file formats, yet the most apparent > difference between ruby and it's main rival Python is that > whitespace is not significant. That may be the most obvious difference at first glance, but it's also the most superficial. Idiomatic Python and idiomatic Ruby will be written completely differently.