Tag configuration

2 bookmarks have this tag.

2025-02-01

1744.

Bencode - Wikipedia

en.wikipedia.org/wiki/Bencode

A dictionary with keys "wiki" → "bencode" and "meaning" → 42 is encoded as d4:wiki7:bencode7:meaningi42ee.

1742.

The Most Elegant Configuration Language

chshersh.com/blog/2025-01-06-the-most-elegant-configuration-language.html

This article made me very angry. It's written very misleadingly, it's full of lies. The proposed language offers too much decisions to the config designer (all of the decisions that matter, actually). Nevertheless, there are some ideas I want to mention here:

  • Not having primitive types beside strings is good. I'd also keep lists and dictionaries (not the way they made it, but the way it should be). Numbers, dates, booleans, all of this is a mess.

  • So, empty config or no config file at all must be a valid configuration.

And it's kinda neat how they find connections between category theory and configuration languages.