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