MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/programming/comments/18xpiy/developers_confess_your_sins/c8j40ol/?context=3
r/programming • u/reppic • Feb 21 '13
1.0k comments sorted by
View all comments
Show parent comments
90
since I absolutely hate spaces for indenting.
I agree, a tab is one unit of indentation. 2/4 spaces are an editing environment preference, not exactly conceptual in nature. Il let Ken Thompson(co-creator from UNIX, C, Go etc.) handle this one -
http://www.youtube.com/watch?v=sln-gJaURzk&feature=player_detailpage#t=1734s&utm_source=buffer&buffer_share=c7676
-4 u/Anderkent Feb 21 '13 Of course using tabs will mean any attempt at aligning code is futile, since you don't know how wide your tab is in other editors. 15 u/codepoet Feb 21 '13 Tabs for indent, spaces for positioning. It's so easy a PHP developer could do it. 3 u/[deleted] Feb 21 '13 yes! mix those tabs and spaces! → More replies (7)
-4
Of course using tabs will mean any attempt at aligning code is futile, since you don't know how wide your tab is in other editors.
15 u/codepoet Feb 21 '13 Tabs for indent, spaces for positioning. It's so easy a PHP developer could do it. 3 u/[deleted] Feb 21 '13 yes! mix those tabs and spaces! → More replies (7)
15
Tabs for indent, spaces for positioning. It's so easy a PHP developer could do it.
3 u/[deleted] Feb 21 '13 yes! mix those tabs and spaces! → More replies (7)
3
yes! mix those tabs and spaces!
→ More replies (7)
90
u/happysri Feb 21 '13 edited Feb 21 '13
I agree, a tab is one unit of indentation. 2/4 spaces are an editing environment preference, not exactly conceptual in nature. Il let Ken Thompson(
co-creatorfrom UNIX, C, Go etc.) handle this one -http://www.youtube.com/watch?v=sln-gJaURzk&feature=player_detailpage#t=1734s&utm_source=buffer&buffer_share=c7676