skepller@lemmy.world to Programmer Humor@programming.devEnglish · 6 hours agoTOMLlemmy.worldimagemessage-square54fedilinkarrow-up1258arrow-down14
arrow-up1254arrow-down1imageTOMLlemmy.worldskepller@lemmy.world to Programmer Humor@programming.devEnglish · 6 hours agomessage-square54fedilink
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up51·6 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-squareFlamekebab@piefed.sociallinkfedilinkEnglisharrow-up7·2 hours agoAs someone who works with YAML regularly: Fuck YAML.
minus-squareDamage@feddit.itlinkfedilinkarrow-up2·44 minutes agoAs someone who runs Home Assistant: Fuck YAML.
minus-squareramble81@lemmy.ziplinkfedilinkarrow-up3arrow-down1·1 hour agoI have a fundamental disdain for formats with restrictive white space definitions (I’m looking too at you Python)
minus-squarepanda_abyss@lemmy.calinkfedilinkarrow-up5·1 hour agoI’ve never had this issue with Python, but makefile has given me plenty of whitespace issues.
minus-squareramble81@lemmy.ziplinkfedilinkarrow-up2·1 hour agoShould have added if it cares about tabs vs spaces.
minus-squaresuicidaleggroll@lemmy.worldlinkfedilinkarrow-up10·4 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-up29·5 hours agoYAML is redeemed by one thing only: All JSON is valid YAML.
minus-squarederek@infosec.publinkfedilinkarrow-up2·4 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.
minus-squarekibiz0r@midwest.sociallinkfedilinkEnglisharrow-up2·4 hours agoThere just needs to be one universal standard that handles everyone’s use cases
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.
As someone who works with YAML regularly:
Fuck YAML.
As someone who runs Home Assistant:
Fuck YAML.
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.
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.
There just needs to be one universal standard that handles everyone’s use cases