top | item 44938308

(no title)

darthrupert | 6 months ago

> You are going to indent your code anyway, so you might as well give the indentation some meaning.

Autoformatters came and fixed that problem. Nobody (except python, haskell and nim coders probably) wastes time indenting code anymore, you save and your code is indented. Nowadays, code that relies on whitespace and has no ending delimiters (like nim and python) gets awkward because the formatters have less information to go on. If your rust or typescript code formats to bad indent or none at all, you have an error.

discuss

order

mixmastamyk|6 months ago

Editors already auto indent. I find reading/writing Python easier than rust/javascript.