| ▲ | javcasas 2 hours ago | ||||||||||||||||||||||
You can do JSON instead of YAML. But no one does that because it is significantly uglier. So I guess we don't deserve sanity because we don't want our programs to be ugly? | |||||||||||||||||||||||
| ▲ | nvme0n1p1 an hour ago | parent | next [-] | ||||||||||||||||||||||
The point is not how pretty the strings are. The point is there should be no strings at all. These are computer programs, so they should use normal objects. The python code `my_pod = nignx_pod()` will never throw a syntax error because the result has too many/too few spaces. | |||||||||||||||||||||||
| |||||||||||||||||||||||
| ▲ | 12_throw_away an hour ago | parent | prev [-] | ||||||||||||||||||||||
Wait, but how does that help? Are text templates any better suited for creating JSON than they are for creating YAML? Trying to manipulate well-structured data as if it were syntax-free text seems downright deranged to me, regardless of the specifics of the format ... | |||||||||||||||||||||||