3 ms·
You're saying this from atop your own high horse. I used to fight about prettier (js) gofmt and so on. I just finally found I don't care. It's more fun to just
by mssundaram 6y ago
You're saying this from atop your own high horse.
I used to fight about prettier (js) gofmt and so on. I just finally found I don't care. It's more fun to just code and watch it all get autoformatted to the project or language standard
- smallstepforman 6y agoThe reason hard tab people dislike code editors which convert to spaces is that pressing backspaces during editing removes one space, not all auto-inserted spaces. This ends up being very frustrating (since you need to press backspace 4 times). Most “used” languages allow both. Accept tab as another white space character and life goes on. Compile errors for hard tabs is a stubborn decision.
- dnautics 6y ago> The reason hard tab people dislike code editors which convert to spaces is that pressing backspaces during editing removes one space, not all auto-inserted spaces This is simply not the case for any editor I have used recently.
- sedatk 6y agoIn addition to this, "de-indentation" can be achieved with Shift-Tab instead of backspace.
- kortex 6y agoAny editor worth it's salt will indent with tab and de-indent with shift tab with the cursor at the first non whitespace. Any good editor will de-indent with the cursor anywhere on the line.