4 ms·
There's a huge difference in desirability for white space significance depending on whether or not it is used for code or data storage. Because the best practic
by kleene_op 3y ago
There's a huge difference in desirability for white space significance depending on whether or not it is used for code or data storage.
Because the best practice is to decompose your code in functions and classes, space significance isn't so much a problem in Python.
YAML on the other hand, is a visually atrocious way to store tree-like/multi-layered data.
- semi 3y agoI somewhat agree in that it does feel like more of a problem in YAML than code, and infinitely more of a problem when doing both (template code generating yaml) But I still don't think there's any desirability for whitespace significance in code. Is there any problem it solves that isn't better solved by having enough structure and standardized tooling for autoformatting like go fmt?