by AlphaCharlie on 4/11/2025, 5:55:29 AM
by fbrchps on 4/11/2025, 3:30:43 AM
This format is unreadable on mobile, it keeps opening up my keyboard and scrolling up a bit when it does.
I understand and appreciate the "why" of the format, but this also could have been a non-editable "editor-like" presentation and achieved the same result.
by huem0n on 4/11/2025, 12:18:16 PM
Yeah theres some problem, but reading a multiline code block (like github actions bash script) as an indent-escaped string is so much better than having to understand crazy triple-escaped characters like "sed \"\\\\\\"name1\\\\\\\"\""
by PollardsRho on 4/11/2025, 3:44:44 PM
I will die on the hill that TOML should be used for the vast majority of what YAML's used for today. There are times a full language is needed, but I've seen so many YAML files that use none of the features YAML has with all of the footguns.
by lfpeb8b45ez on 4/11/2025, 8:39:41 PM
I find the configuration complexity clock always valuable in framing conversations like this: https://mikehadlow.blogspot.com/2012/05/configuration-comple...
by sabslikesobs on 4/11/2025, 5:49:24 PM
I'm a big fan of YAML after coming from JSON and, later, ProtoBuf's many definition formats while working at Google---but it's true that there are a lot of oddities in YAML's magical parsing. I'm grateful for the many ways it's possible to quickly an naturally define simple hierarchies of data (for example, in a docker-compose file).
This website does the rare thing of, after complaining, providing a long list of alternatives. It's really nice.
by soraminazuki on 4/11/2025, 4:29:44 PM
YAML's idea of human readability misses the mark. Especially anchors. They're the worst tools for abstraction.
JSON with functions as the high level format and JSON as the low level format is the way to go. Examples include Nix and Jsonnet. They're much nicer to deal with and less error prone.
by zombot on 4/11/2025, 12:54:54 PM
> # Anyone wondering why their first seven Kubernetes clusters deploy just fine, and the eighth fails?
Yay, octal numbers! But don't panic, lots of supposed C programmers fall for exactly the same trick when prefixing numbers with `0`.
by stevage on 4/11/2025, 12:22:08 PM
I can take credit for one of these, the 63 ways to wrap a string, on line 156.
by pankajdoharey on 4/11/2025, 4:17:44 AM
All I see is Lisp:
#Operator: - Operand 1 - Operand 2
by sbennettmcleish on 4/11/2025, 12:41:22 PM
When it comes to AWS Cloudformation, I love YAML. Can't think of any other positive use though.
by tryauuum on 4/11/2025, 5:58:39 PM
I like writing yaml
(context: I've never had to write 1000-line yaml files for kubernetes)
by RadiozRadioz on 4/11/2025, 6:08:39 PM
Yawn. I'll keep using XML. While many waste their youth pointlessly reinventing XSDs in YAML/JSON/TOML/JSON5/HJSON, I'll still be here. Living. Content.
Yaml is the language nobody needed. All we wanted was a better JSON format that supports comments and doesn’t crash with an extra comma as the end of a list, eg: [1,2,3,]