Skip to content
loading...

re: Tabs VS Space VIEW POST

FULL DISCUSSION
 

This totally depends on the language you're coding in. For example python's PEP8 suggests using space instead of tabs (with 1 unit of indentation equaling 4 spaces). While in contrast, Go advocates use of tabs, in fact that is the only way that Go recommends. They even wrote an official tool called 'gofmt' which formats your code to the required standards (tabs, hanging opening braces etc.) so that everybody's code is following the same standards and we can end the styling debate once and for all(at least in the Go world).

code of conduct - report abuse