4 ms·
>your IDE can display them with any width, making it easier to follow long passages with deep indentation this to me is the crucial disadvantage because it bai
by Barrin92 8y ago
>your IDE can display them with any width, making it easier to follow long passages with deep indentation
this to me is the crucial disadvantage because it baits people with low tab-width into writing deeply nested code, which is usually seen as a bad pattern, and also blows up on the screen on someone using a wider tab-width.
- llukas 8y agoHow this would pass code review before submit?
- Barrin92 8y agoIt wouldn't necessarily, but then again it's another thing that code reviewers have to look out for, which is time wasted on other things they could do. I'm in favour of strong uniform rules. Make it 4 spaces, line width 80 and then everybody lives in the same formatting world.
- 11235813213455 8y agoLinting is a better way for that, ex: https://eslint.org/docs/rules/max-depth https://eslint.org/docs/rules/max-depth