628
fixed rule (lemmy.blahaj.zone)
you are viewing a single comment's thread
view the rest of the comments
[-] ChairmanMeow@programming.dev 4 points 9 months ago

If your code takes up so much horizontal space with 4-space tabs, you're putting too much on one line or indenting too deep. 4-space tabs keeps your line length manageable.

[-] ToastedPlanet@lemmy.blahaj.zone 2 points 9 months ago

Or you're using four spaces per tab, just throwing that out there. =p

[-] kryptonianCodeMonkey@lemmy.world 2 points 9 months ago

If you have to nest more than 2 layers, rewrite your code.

this post was submitted on 10 Feb 2024
628 points (100.0% liked)

196

16511 readers
2974 users here now

Be sure to follow the rule before you head out.

Rule: You must post before you leave.

^other^ ^rules^

founded 1 year ago
MODERATORS