3 ms·
I think YAML as a language has many faults. That said, this isn't YAML being a bad language. It's just people abusing YAML.
by Ygg2 6y ago
I think YAML as a language has many faults.
That said, this isn't YAML being a bad language. It's just people abusing YAML.
- agbell 6y agoYeah, thanks for reading my rant. I agree. Its not that I have a problem with YAML itself - although it is bad. My problem is people embedding a DSL inside or ontop of YAML. Then you end up with the worst combination of config and an adhoc programming language.
- Turing_Machine 6y agoPeople just seem to keep reinventing makefiles, JCL, shell scripting... and usually make it worse. Probably the moment at which you start thinking about adding branches or other control structures to your config file syntax is the moment at which you should stop for a long, hard examination of why you're doing this, and whether or not there's already a better way of doing this. If you really need that kind of thing, why not go whole hog and use Guile or Lua or something like that?