logoalt Hacker News

skrebbelyesterday at 7:23 PM3 repliesview on HN

A good configuration syntax isn’t supposed to be exciting.


Replies

theamkyesterday at 8:32 PM

agreed, but then even some third-party project is too exciting.

My choice is "whatever is available in the standard library" - which used to be INI, JSON or YAML. But with python 3.11 there is also TOML, which is nice...

sunrunneryesterday at 8:06 PM

There's a direct correlation between how exciting and fun a configuration syntax looks and how much you'll despise it after a year of having to deal with the fallout of those 'exciting features'.

Speaking of which, Pkl looks absolutely fascinating, I might have to check that out...

XorNotyesterday at 7:27 PM

No but you'd have to do a lot of work to convince me it's really any better then basic YAML (yaml without going nuts with anchors and indirection).

show 3 replies