devilish666@lemmy.world to Programmer Humor@lemmy.ml · 7 months agoC++ Momentlemmy.worldimagemessage-square18fedilinkarrow-up15arrow-down10
arrow-up15arrow-down1imageC++ Momentlemmy.worlddevilish666@lemmy.world to Programmer Humor@lemmy.ml · 7 months agomessage-square18fedilink
minus-squareWhiteHawk@lemmy.worldlinkfedilinkarrow-up0·7 months agoMixing spaces and tabs should be a warcrime.
minus-squaremerc@sh.itjust.workslinkfedilinkarrow-up0·7 months agoFind me anyone who claims they use tabs for indentation, and I bet I’ll find at least one case where they’re using both tabs and spaces. The only safe way to avoid war crimes is to avoid tabs.
minus-squareHolzkohlen@feddit.delinkfedilinkarrow-up0·7 months agoDon’t IDEs just replace any tab with 4 spaces anyways? Pretty sure VSCode does
Mixing spaces and tabs should be a warcrime.
Find me anyone who claims they use tabs for indentation, and I bet I’ll find at least one case where they’re using both tabs and spaces.
The only safe way to avoid war crimes is to avoid tabs.
Don’t IDEs just replace any tab with 4 spaces anyways? Pretty sure VSCode does