News for hackers. Stuff that matters.
Re:Intercal, YAML, and Other Horrible Programming Languages by waheoo on Friday February 26, 2021 @05:39AM (#26273403)
If it's stored as code it's going to be trivial to dump it to Json in the rear situations you need an application config to be read across languages.
Re:Intercal, YAML, and Other Horrible Programming Languages by choeger on Friday February 26, 2021 @06:06AM (#26273553)
But that does not allow you to manipulate it automatically (think about moving domains or something like this), nor does it help you to detect errors (which few tools do, but many actually should do).
Re:Intercal, YAML, and Other Horrible Programming Languages by tinus_hn on Friday February 26, 2021 @06:15AM (#26273602)
So now you need the runtime for that other language in your system-wide configuration management solution. Plus all the other runtimes for languages someone decided to use as a configuration language.
Re:Intercal, YAML, and Other Horrible Programming Languages by enriquto on Friday February 26, 2021 @06:26AM (#26273675)
Sounds alright to me, as long as you restrict to sane, reasonable languages. For example lua's "runtime" fits in a single .c file and is likely simpler than many xml or json parsers.