๐Ÿ‘ฝ marginalia

I am very much enjoying the DIY aspect of gemini so far. Yesterday I wanted to set up a server. Didn't like the software available, ended up building the server myself. It just served static files. Today I added a guestbook. Oh that's like 40 more lines. It's all just code. Almost nothing is configurable. If I want something, I add it. And no XML or YAML anywhere. Very pleasant.

3 years ago ยท ๐Ÿ‘ warpengineer, calgacus, syntheist, lykso, bacardi55, degrowther, defunct, know

Actions

๐Ÿ‘‹ Join Station

3 Replies

๐Ÿ‘ฝ marginalia

@mcoffin (2/2) Furthermore, since only the syntax can be validated load-time, you inevitably get a lot of weird runtime problems with stuff that is syntactically correct but has the property you wanted in the wrong level. That can be solved with schemas, but then we're really talking XML with different syntax. (The syntax was far from the biggest problem with XML.) ยท 3 years ago

๐Ÿ‘ฝ marginalia

@mcoffin (1) Oh the format itself is lovely. The problem is that it's so lovely that it's very inviting to put a lot of configuration in the same very large yaml file, or worse still, multiple yaml files in some form of amorphous directory structure. It's exactly the same sort of uncontrollable growth XML suffered from c.a. 2010. ยท 3 years ago

๐Ÿ‘ฝ mcoffin

I gotta ask, since I love it for writing things like config files, what's with the hate on YAML? I wouldn't want to be the one writing a parser, don't get me wrong, but from a user PoV, it's really easy on the eyes. ยท 3 years ago