News for hackers. Stuff that matters.
Re:I don’t like the Ruby 1.9 hash syntax by chc on Wednesday December 14, 2011 @10:14PM (#3354884)
I don't think so, at least not so directly. IIRC, this idea of "DSLs" in Ruby didn't gain currency until relatively late in the language's history, a little while after Rails made it explode and Why wrote his Poignant Guide featuring Dwemthy's Array. But Ruby had basically the same syntax long before that.

I think the real answer is what I said: It makes Ruby's syntax lighter and more flexible so the pony could get more mileage out of its one trick (pure OO), and the convenience of writing DSLs just falls out of that.

BTW, that DSL is an awesome hack.

There are no comments on this comment yet.