Abstraction, not syntax
ruudvanasseldonk.com
Abstraction, not syntax
1–10 of 67 posts
Re: Abstraction, not syntax
#2Re: Abstraction, not syntax
#3Re: Abstraction, not syntax
#4As someone who's spent most of their career in cloud IAC, and likes to think they are pretty read up on the latest going on in that world, if you didn't know better you'd think YAML is one of the greatest threats facing mankind. There are plenty of things I certainly hate about it, but every configuration syntax I've ever used I have similar gripes about. It's like once a month this kind of "The world is growing tire…
It is specifically saying the same problem exists in JSON/YAML/TOML, etc, which is that all these configuration languages don't have any real means of abstraction, and ultimately aren't expressive enough do to the job we require of them.
as soon as you are templating config files with other configs, I agree, I have sorely felt this limitation with helm charts
Re: Abstraction, not syntax
#5Re: Abstraction, not syntax
#6Really wish people would just bite the bullet and do configuration as code instead of trying to make all these config petlangs.
Re: Abstraction, not syntax
#7This isn't syntax vs abstraction. This is how much programming language power do you want to enable in your configuration language. This is a big difference and I think we miss the interesting part of that discussion because we dip into this 'abstraction angle.
Re: Abstraction, not syntax
#8Really wish people would just bite the bullet and do configuration as code instead of trying to make all these config petlangs.
option value
Easy to edit and manipulate. JSON and YAML is always a nightmare if it's user facing. As for ansible, I'd love to see some scheme/lisp variants.Re: Abstraction, not syntax
#9Really wish people would just bite the bullet and do configuration as code instead of trying to make all these config petlangs.
Exactly. Emacs Lisp is an existence proof that this can be done well.
And for those that haven't taken a look at it, the "customize" menu and everything it supports is silly impressive. And it just writes out the results out, like a boss.*
* Obviously, it has a lot of "don't edit below this line" complexity to it. But that doesn't change that it is right there.
Re: Abstraction, not syntax
#10As someone who's spent most of their career in cloud IAC, and likes to think they are pretty read up on the latest going on in that world, if you didn't know better you'd think YAML is one of the greatest threats facing mankind. There are plenty of things I certainly hate about it, but every configuration syntax I've ever used I have similar gripes about. It's like once a month this kind of "The world is growing tire…
Trying that on Google gets me https://en.wikipedia.org/wiki/Sayre%27s_law. Is about right. :D