N3Cr0 to Programmer [email protected] • 22 days agoIt happens each time!lemmy.worldimagemessage-square55fedilinkarrow-up1542arrow-down116
arrow-up1526arrow-down1imageIt happens each time!lemmy.worldN3Cr0 to Programmer [email protected] • 22 days agomessage-square55fedilink
minus-square@[email protected]linkfedilink8•22 days agoTabs > spaces Tabs does allow you to set the spacing you need. Spaces are like hardcoding passwords
minus-squaresilly goose meekahlinkfedilink4•22 days 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-square@[email protected]linkfedilink12•22 days agoAnd I for spaces. Let’s hate both and be mad at the client?
minus-square@[email protected]linkfedilink5•22 days 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-square@[email protected]linkfedilink1•21 days 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.
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.