skepller@lemmy.world to Programmer Humor@programming.devEnglish · 7 hours agoTOMLlemmy.worldimagemessage-square40fedilinkarrow-up1225arrow-down14
arrow-up1221arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 7 hours agomessage-square40fedilink
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up44·7 hours agoIf yaml didn’t have anchors and 8 different white space formats, it’d be a great replacement for this kind of thing. But yaml is a mess, and you’d think you could parse it easily, but you can’t.
minus-squareramble81@lemmy.ziplinkfedilinkarrow-up5·3 hours agoI have a fundamental disdain for formats with restrictive white space definitions (I’m looking too at you Python)
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up7·2 hours agoI’ve never had this issue with Python, but makefile has given me plenty of whitespace issues.
minus-squareramble81@lemmy.ziplinkfedilinkarrow-up3·2 hours agoShould have added if it cares about tabs vs spaces.
minus-squareFlamekebab@piefed.sociallinkfedilinkEnglisharrow-up8·3 hours agoAs someone who works with YAML regularly: Fuck YAML.
minus-squaresuicidaleggroll@lemmy.worldlinkfedilinkarrow-up10·5 hours agoI want to like yaml, I really do, but why are there so many different ways of specifying the same thing?
minus-squarefloquant@lemmy.dbzer0.comlinkfedilinkarrow-up26arrow-down1·6 hours agoYAML is redeemed by one thing only: All JSON is valid YAML.
minus-squarederek@infosec.publinkfedilinkarrow-up2·5 hours agoI’m a fan of NestedText. It’s no panacea but I’d argue it’s the most well-considered and useful file format for structured data in plain text.
If yaml didn’t have anchors and 8 different white space formats, it’d be a great replacement for this kind of thing.
But yaml is a mess, and you’d think you could parse it easily, but you can’t.
I have a fundamental disdain for formats with restrictive white space definitions (I’m looking too at you Python)
I’ve never had this issue with Python, but makefile has given me plenty of whitespace issues.
Should have added if it cares about tabs vs spaces.
As someone who works with YAML regularly:
Fuck YAML.
I want to like yaml, I really do, but why are there so many different ways of specifying the same thing?
YAML is redeemed by one thing only:
All JSON is valid YAML.
import yaml:)I’m a fan of NestedText. It’s no panacea but I’d argue it’s the most well-considered and useful file format for structured data in plain text.