top | item 43507792

(no title)

tzcnt | 11 months ago

Developer ergonomics is drastically underappreciated, even in modern times. Since we're talking about textual data formats, I'll go out on a limb here and say that I hate YAML. Double checking exactly how many spaces are present on each line is tedious. It manages to make a simple task like copy-pasting something from a different file (at a different indentation level) into an error-prone process. I'll take angle brackets any day.

discuss

order

chuckadams|11 months ago

You haven’t felt hate until you’ve counted spaces in your Helm templates in order to know what value to put after `nindent`. The punchline is that k8s doesn’t even speak yaml, the protocol is all json and it’s the tooling that inflicts yaml on us. I can live with yaml as a config format, but once logic starts creeping in, give me anything else.

formerly_proven|11 months ago

Working with large YAML documents is incredibly annoying and shows the benefit of closing tags.

4ndrewl|11 months ago

It all went downhill after we stopped using .ini files

01HNNWZ0MV43FF|11 months ago

JSON5 is a real sweet spot for me. Closing brackets, but I don't have to type every tag twice. Comments and trailing commas.

consteval|11 months ago

I find for deeply hierarchical data that XML is much easier to read.

Pet_Ant|11 months ago

> Developer ergonomics is drastically underappreciated, even in modern times.

When was the last time you had an editor that wouldn't just auto close the current tag with "</" ? I mean it's a god-send for knowing where you are at in large structure. You aren't scrolling to the top to find which tag you are in.