Hacker News new | ask | show | jobs
by jheriko 3826 days ago
> Every editor out there worth its salt can adjust the tab size the way you want

this is the one strong argument for tabs that i have heard, over and again. it makes a lot of sense.

if this was a real issue i'd fall that side of the argument, since its not i go with the consensus and /prefer/ 4 spaces.

in reality though i end up mixing 4 spaces with tabs based on default editor configurations and i what i end up working with.

it doesn't cause real world problems.

2 spaces is nice if you work in exceptionally backwards command line environments and have no tab character input mechanism (this is not uncommon, although it /is/ stupid imo).

... now a long time ago i did switch from tabs to spaces, the reason was simple, google code and other web based code viewers would use the standard 5 spaces for a tab, so mixed and matched tabs and spaces looked ugly and ascii art in comments would get broken.

i'm not sure thats a real issue any more...