|
|
|
|
|
by tremon
1063 days ago
|
|
Exhibit #1: rake's DSL syntax. It allows "neat" syntax abominations like rule :name, [:param] => [:dep1, 'dep2'] do |t|
where every argument except the name can either be missing, single (value) or multiple (array). Sure, it has the "advantage" that it's syntactically valid Ruby code, but it then requires some 70 lines of awful code to actually parse that data into a usable construct: https://github.com/ruby/rake/blob/7b50e9dc37abc57fd365c16cb1... |
|