this post was submitted on 08 Sep 2024
1240 points (98.4% liked)

Programmer Humor

35334 readers
1 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] skullgiver@popplesburger.hilciferous.nl 21 points 2 years ago* (last edited 2 years ago) (2 children)

[This comment has been deleted by an automated system]

[–] MonkderVierte@lemmy.ml 4 points 2 years ago (2 children)

The amount of config.jsons I've had to mess with...

Yeah, json is not a good config format. As much as xml is not. Please use something like YAML or TOML.

[–] sysop@lemmy.world 7 points 2 years ago (1 children)

I never moved away from ini I've just been sititng back watching you all re-invent the wheel over and over and over and over and over.

[–] reinei@lemmy.world 2 points 2 years ago* (last edited 2 years ago)

It's a wheel, it's supposed to turn over and over and over and infinitum!

/S (because it's big sarcasm instead of small.)

[–] toastal@lemmy.ml 1 points 2 years ago

I wish more things used Nickel or Dhall for config. I don’t know why I wouldn’t want editor support for type information or the ability to make functions in my non-Turing-complete config to eliminate boilerplate on my end.

[–] schnurrito@discuss.tchncs.de 1 points 2 years ago (1 children)

Of course you can use XML that way, but it is unnecessarily verbose and complex because you have to make decisions, like, whether to store things as attributes or as nested elements.

I stand by my statement that if you're saving things to a file you should probably use XML, if you're transferring data over a network you should probably use JSON.

[–] skullgiver@popplesburger.hilciferous.nl 9 points 2 years ago* (last edited 2 years ago)

[This comment has been deleted by an automated system]