6 ms·
> anymore than there is a clear winner between tabs and spaces. But there is a clear winner here. Tabs won, almost all code files use spaces. Of course everyon
by qez 4y ago
> anymore than there is a clear winner between tabs and spaces.
But there is a clear winner here. Tabs won, almost all code files use spaces. Of course everyone uses the tab key on their keyboard, and the IDE makes spaces for you; no one is going to manually press space 4 times.
- tingletech 4y agoI hit space 4 times...
- jjoonathan 4y ago...which is clear evidence that hitting space 4 times is the wrong thing to do :P
- bornfreddy 4y agoThere is no winner, both tabs snd spaces are widely used. However with proliferation of better tools the question thankfully became mostly irrelevant. I don't care if it is spaces or tabs, as long as it is consistent across codebase (which CI enforces with autoformatters and linters) and as long as my editor (which obeys project's editorconfig) uses the same convention.
- spacemanmatt 4y agoAs a savage, I use 4 tabs now.