Dan Simmons@lemmy.linuxuserspace.show to Linux and Tech News@lemmy.linuxuserspace.showEnglish · 7 months agoLinus Torvalds reiterates his tabs-versus-spaces stance with a kernel traparstechnica.comexternal-linkmessage-square22fedilinkarrow-up138arrow-down13cross-posted to: hackernews@lemmy.smeargle.fans
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 · 7 months agomessage-square22fedilinkcross-posted to: hackernews@lemmy.smeargle.fans
minus-squaremipadaitu@lemmy.worldlinkfedilinkEnglisharrow-up13arrow-down27·7 months 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·7 months 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·7 months agoNow I’m imagining how code where someone only uses tabs for everything would look.
minus-squarenaevaTheRat@lemmy.dbzer0.comlinkfedilinkEnglisharrow-up9arrow-down2·7 months agoI don’t think you know what a tab means.
minus-squarefrazorth@feddit.uklinkfedilinkEnglisharrow-up4arrow-down1·7 months agoHow can you not rely on them for consistent spacing? It’s a tab.
minus-squareTomato666@lemmy.sdf.orglinkfedilinkEnglisharrow-up3·7 months agoMaybe we can compromise with 3?
minus-squareTomato666@lemmy.sdf.orglinkfedilinkEnglisharrow-up2·7 months 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?