Re:Tabs, spaces and your salary – how is it really?
by Sohcahtoa82 on Tuesday June 20, 2017 @05:26PM
(#14598764)
Tabs for indentation, spaces for alignment. That's the only acceptable mixing.
It works because it allows everyone to configure their code editor to have tabs be whatever width they want without messing up how it looks for other people.
But it's futile. Unless there's a git hook setup or you're using Python 3 which throws errors when tabs and spaces are both used for indentation, you're gonna end up with source files with both being used.
It works because it allows everyone to configure their code editor to have tabs be whatever width they want without messing up how it looks for other people.
But it's futile. Unless there's a git hook setup or you're using Python 3 which throws errors when tabs and spaces are both used for indentation, you're gonna end up with source files with both being used.