3 ms·
> What issues have you seen with regards to using tabs? How does a team adopt a standard regarding line length if their code base uses tabs and the team member
by subsection1h 12y ago
> What issues have you seen with regards to using tabs?
How does a team adopt a standard regarding line length if their code base uses tabs and the team members specify different tab widths in their editors?
In my experience, devs that prefer tabs over spaces have a tendency to be unconcerned about line lengths, and their lines of code can become annoyingly long.
For example, the most popular Go project at GitHub[1] is Docker. Docker's code base contains Go files with lines of code that are hundreds of columns wide.[2] Gross. ;-)
[1] https://github.com/search?l=Go&q=stars%3A%3E0&type=Repositories https://github.com/search?l=Go&q=stars%3A%3E0&type=Repositor...
[2] https://github.com/dotcloud/docker/blob/master/api/client/commands.go#L1483 https://github.com/dotcloud/docker/blob/master/api/client/co...