30 ms·
If you can also get your colleagues to do things like putting their `&&` style logical operators on new lines, then tabs for indents works really well. (This i
by the_other 2y ago
If you can also get your colleagues to do things like putting their `&&` style logical operators on new lines, then tabs for indents works really well.
(This isn't the best example of what I'm getting at, but it's easy to grasp. A stronger example would be the use of ternary operators with multiple lines of JSX. There are many "micro-syntaxes" or "micro-layouts" that help readability and form common patterns in code bases which don't play well with tabs-for-indents, so when you use tabs, you have to train your team to develop and accept novel versions of these "micro-layouts".)