Skull giver
link
fedilink
English
21
edit-2
2M

deleted by creator

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.

Skull giver
link
fedilink
English
9
edit-2
2M

[This comment has been deleted by an automated system]

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.

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
link
fedilink
2
edit-2
2M

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
link
fedilink
English
12M

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.

Create a post

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

Rules:

  • Posts must be relevant to programming, programmers, or computer science.
  • No NSFW content.
  • Jokes must be in good taste. No hate speech, bigotry, etc.
  • 1 user online
  • 77 users / day
  • 211 users / week
  • 413 users / month
  • 2.92K users / 6 months
  • 1 subscriber
  • 1.53K Posts
  • 33.8K Comments
  • Modlog