N3Cr0@lemmy.world to Programmer Humor@lemmy.ml · 3 months agoIt happens each time!lemmy.worldimagemessage-square55fedilinkarrow-up1542arrow-down116
arrow-up1526arrow-down1imageIt happens each time!lemmy.worldN3Cr0@lemmy.world to Programmer Humor@lemmy.ml · 3 months agomessage-square55fedilink
minus-squareAppoxo@lemmy.dbzer0.comlinkfedilinkarrow-up11arrow-down3·3 months agoTabs > spaces Tabs does allow you to set the spacing you need. Spaces are like hardcoding passwords
minus-squaresilly goose meekah@lemmy.worldlinkfedilinkarrow-up5arrow-down1·3 months agoYeah, tabs are larger spaces, what’s your point? /s You may be right, but I still have an unreasonable hate for tabs in code
minus-squareAppoxo@lemmy.dbzer0.comlinkfedilinkarrow-up12·3 months agoAnd I for spaces. Let’s hate both and be mad at the client?
minus-squaresilly goose meekah@lemmy.worldlinkfedilinkarrow-up4·3 months agoI like the way you think.
minus-squarefluckx@lemmy.worldlinkfedilinkarrow-up5·3 months agoTabs for indenting and spaces for aligning. There. Everybody wins and loses. This way the code always looks aligned and if you prefer 4 spaces for a tab instead of 2 or 3 or 8 you can just set it in your IDE. Crisis averted!
minus-squarePeriodicallyPedantic@lemmy.calinkfedilinkarrow-up1·3 months agoBoth tabs and spaces are stupid. It’s ridiculous that in 2024, code formatting is still embedded in the source instead of being a style you apply.
No
Tabs > spaces
Tabs does allow you to set the spacing you need.
Spaces are like hardcoding passwords
Yeah, tabs are larger spaces, what’s your point?
/s
You may be right, but I still have an unreasonable hate for tabs in code
And I for spaces.
Let’s hate both and be mad at the client?
I like the way you think.
Tabs for indenting and spaces for aligning. There. Everybody wins and loses.
This way the code always looks aligned and if you prefer 4 spaces for a tab instead of 2 or 3 or 8 you can just set it in your IDE.
Crisis averted!
Both tabs and spaces are stupid.
It’s ridiculous that in 2024, code formatting is still embedded in the source instead of being a style you apply.