News for hackers. Stuff that matters.
Re:A Haml-inspired mini-language for jQuery: Jabs by crayz on Monday November 30, 2009 @01:09PM (#968317)
And ruby's manifest destiny continues

Your current language is too ugly or verbose? There's a ruby DSL for that

Re:A Haml-inspired mini-language for jQuery: Jabs by bradgessler on Monday November 30, 2009 @01:31PM (#968369)
I've found that smaller, more expressive DSL's drastically improve productivity over time. HAML, SaSS, and Compass have saved me an insane amount of time. I'll keep using these types DSL's for as long as they keep making me more productive.
Re:A Haml-inspired mini-language for jQuery: Jabs by gregwebs on Monday November 30, 2009 @03:12PM (#968566)
Normally when I think of a ruby DSL, I think of a DSL embedded in a Ruby program (a DSL that is legal ruby syntax). In this case a jabs DSL file is not legal Ruby or javascript, but is turned into valid javascript by a Ruby program.

It is possible that the culture of Ruby does leads to Rubyists writing things like this.