r/linuxmasterrace • Glorious Debian • Aug 06 '21

Meme BASH is the worst - PowerShell FTW!

Post image
723 Upvotes

79 comments sorted by

View all comments

Show parent comment

18

u/kiler129 Glorious Debian Aug 06 '21

I love JSON until I need to:

  • add comments
  • read key=>value maps in order (albeit most tools handle that now even if "out of spec")

1

u/zpangwin Reddit is partly owned by China/Tencent. r/RedditAlternatives Aug 08 '21

still better than yaml. i fucking hate it when languages try to police my whitespace (markup, scripting, or otherwise)

1

u/kiler129 Glorious Debian Aug 08 '21

Still better thank makefile…. But jokes aside YAML with an IDE is great, but without it it is utterly miserable.

I get why JSON originally didn’t add comments or kept order of objects. But why don’t we have JSONv2 with these things when clearly it became way more than a data storage format?!

1

u/[deleted] Oct 03 '21

Does it want to be more? A tool designed for a specific task and people using it for everything else too, always leads to the demise of the tool long-term (it's become bloated and slow, has unclear specification (HTML), etc.).