30 ms·
I also don't understand the notion that the various bits of ruby that look like a "DSL" even qualify for this rule. Ruby's syntax allows for writing things in
by ninkendo 5y ago
I also don't understand the notion that the various bits of ruby that look like a "DSL" even qualify for this rule.
Ruby's syntax allows for writing things in a pretty expressive style, often not requiring parentheses (for parameters) or curly braces (for object/hash literals), and that allows you to write ruby code in a way that sorta looks like a nice DSL. But it's very much not a DSL, it doesn't have "special syntax", it's just... Ruby. Just because Ruby can be written beautifully doesn't mean Ruby "leaned hard into this".