4 ms·
>Make white space significant and you'll frustrate people. Or worse: make whitespace significant and strike a blow in the eternal tabs vs. spaces holy war at t
by HideousKojima 3y ago
>Make white space significant and you'll frustrate people.
Or worse: make whitespace significant and strike a blow in the eternal tabs vs. spaces holy war at the same time, like YAML.
- deleted 3y ago[deleted]
- gabereiser 3y agoIsn’t the whole premise behind this article that, coming from Python where indentation is program structure, that TOML confuses the reader with syntax foreign to the reader? Like a C++ developer crying foul because inheritance doesn’t exist in YAML.
- riwsky 3y agoThankfully, YAML supports SFINAE
- giaour 3y agoMake that C++ developer's day by pointing out that YAML does support inheritance: https://dmitryrck.com/how-to-use-inheritance-in-yaml-files/ https://dmitryrck.com/how-to-use-inheritance-in-yaml-files/
- gabereiser 3y agoPfffffft, you know very well C++ developers don’t write yaml. They write m4.
- GoblinSlayer 3y agoSciTE uses lua for configuration.
- GuB-42 3y ago...or more famously, Makefiles
- MiguelX413 3y agoI would disagree
- eternityforest 3y agoIt's kinda crazy we have 2 kinds of whitespace. Even the customizability argument makes less sense now, IDEs could just change the width of leading spaces, I'm not sure why they don't.