|
|
|
|
|
by markbnj
3826 days ago
|
|
Interesting! I assume tabs being so common in C projects has to do with their use in makefiles. But what is up with Go? Why are tabs used exclusively there? Not a Go programmer so I assume that must reflect something in the language or typical tool chain. |
|
I'm not old enough to know personally, but I have a feeling tabs were preferred in the old days in general at least on Unix platforms. Some of that sentiment might have spilled over into Go.
[0]: https://www.freebsd.org/cgi/man.cgi?query=style&apropos=0&se...
[1]: https://www.kernel.org/doc/Documentation/CodingStyle