Re:Learn how to test Rails using Test::Unit instead of Rspec
by genericsteele on Thursday March 21, 2013 @04:35PM
(#5418753)
Computers don't understand english very well. It's easier for us to learn to talk to them, than to teach them how to understand us.
DSLs are helpful for some, but sometimes they get in my way. A good example is formtastic (http://github.com/justinfrench/formtastic) in ActiveAdmin. I already understood forms when I had to implement this, so it just dragged me down.
If using a DSL makes your life easier, by all means use it.
And that's where I'd disagree and my tastes differ, I never quite got the Ruby fetishism for almost-sort-kinda English DSLs. It's still baffling to non-developers and I'd much rather read a more regular programming language syntax, never mind that abusing the syntax can lead to some weird error messages. (Not saying that RSpec/Cucumber fall into that trap, as I never had that much experience with them. Like I said, kinda turn-off for me)
A bit like Lisp macro abuse or too much parsing in Tcl.