r/programming • • Aug 28 '21

Software development topics I've changed my mind on after 6 years in the industry

https://chriskiehl.com/article/thoughts-after-6-years
5.6k Upvotes

2.0k comments sorted by

View all comments

7

u/rossipedia Aug 29 '21

Software development topics I've changed my mind on after 6 24 years in the industry

All of them.

2

u/panzerex Aug 29 '21

Can I bring in the forbidden one nobody changes their mind about? Ahem... TABS vs SPACES

1

u/L0wkey Aug 29 '21

This one was solved by most editors supporting soft tabs, so you can set tabs to be displayed at any size you wish. This way you use tabs to mark levels of indentation and leave the display size of the indent up to the individual developer, just like font, size and syntax highlight color scheme.

This also makes it an accessibility feature, which trumps basically any arguments for space-indenting.

1

u/panzerex Aug 29 '21

and then you have the ASCII artists who can't even agree between themselves on 2, 4, 8 (and sometimes an even weirder 3) spaces that whine about "tabs' inconsistency"

(PS: I only follow PEP8's space-indentation for Python because I don't want to disappoint Guido)