Dan Simmons@lemmy.linuxuserspace.show to Linux and Tech News@lemmy.linuxuserspace.showEnglish · 1 year agoLinus Torvalds reiterates his tabs-versus-spaces stance with a kernel traparstechnica.comexternal-linkmessage-square22linkfedilinkarrow-up138arrow-down13cross-posted to: hackernews@lemmy.smeargle.fanstechnology@lemmy.zip
arrow-up135arrow-down1external-linkLinus Torvalds reiterates his tabs-versus-spaces stance with a kernel traparstechnica.comDan Simmons@lemmy.linuxuserspace.show to Linux and Tech News@lemmy.linuxuserspace.showEnglish · 1 year agomessage-square22linkfedilinkcross-posted to: hackernews@lemmy.smeargle.fanstechnology@lemmy.zip
minus-squaremipadaitu@lemmy.worldlinkfedilinkEnglisharrow-up13arrow-down27·1 year agoTabs suck, because you can’t rely on them for consistent spacing and formatting. Spaces always win out.
minus-squarePhen@lemmy.eco.brlinkfedilinkEnglisharrow-up23arrow-down1·1 year agoClassic “you’re using it wrong”. The tab people still use spaces for formatting if they want to format something. Tabs are only used for indentation.
minus-squaretrashgirlfriend@lemmy.worldlinkfedilinkEnglisharrow-up1·1 year agoNow I’m imagining how code where someone only uses tabs for everything would look.
minus-squarenaevaTheRat@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up9arrow-down1·1 year agoI don’t think you know what a tab means.
minus-squarefrazorth@feddit.uklinkfedilinkEnglisharrow-up4arrow-down1·1 year agoHow can you not rely on them for consistent spacing? It’s a tab.
minus-squareTomato666@lemmy.sdf.orglinkfedilinkEnglisharrow-up3·1 year agoMaybe we can compromise with 3?
minus-squareTomato666@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·1 year agoWell since we ditched the old 80 column terminals I’ve always thought a laid back 7 spacer tab would be sublime. Chilled indentation and a big prime number of spaces. Very profound, what’s not to like?
Tabs suck, because you can’t rely on them for consistent spacing and formatting. Spaces always win out.
Classic “you’re using it wrong”.
The tab people still use spaces for formatting if they want to format something. Tabs are only used for indentation.
Now I’m imagining how code where someone only uses tabs for everything would look.
I don’t think you know what a tab means.
How can you not rely on them for consistent spacing? It’s a tab.
But 2 or 4 spaces?
Maybe we can compromise with 3?
Heretic!
Well since we ditched the old 80 column terminals I’ve always thought a laid back 7 spacer tab would be sublime. Chilled indentation and a big prime number of spaces. Very profound, what’s not to like?