4 ms·
I agree that they are among the smartest people for the job and that is why I am so surprised (and annoyed) that they choose tabs over spaces. If for no other
by todd3834 14y ago
I agree that they are among the smartest people for the job and that is why I am so surprised (and annoyed) that they choose tabs over spaces.
If for no other reason than that I have to have a different .vimrc file for my go programs than literally everything else.
- meaty 14y agoPerhaps they're right and you're wrong? Tabs are used for tabulating stuff. Spaces are used for spacing stuff. Indentation is a form of tabulation, so use tabs. Similarly to when you use a word processor, do you hold space down for long enough to center your text or do you use the "center" alignment? Right tools for the right job. Hell it's not exactly hard to fix in vim either - just load the provided vim extensions as per the instructions and it just works without screwing up the rest of your configuration. The amount of time I've had to spend dredging through fucked up merges where someone has added 5 or 3 spaces to the start of the line instead of 4 gives credence to why you should use tabs as the tab means "indented one level" rather than "n spaces depending on how the user or editor fucked up the file". Anyway, rant over - sorry.
- Evbn 14y agoLucky for you, they wrote a ftplugin for you.
- aaronblohowiak 14y agotabs mean you and i can vary in how our editor displays the text -- this is the simplest form of separation of style from content.