this post was submitted on 28 Feb 2024
634 points (97.2% liked)

Programmer Humor

21369 readers
646 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] zea_64@lemmy.blahaj.zone 17 points 1 year ago (2 children)

Also, a lot of editors won't unindent on backspace of spaces indentation, so I end up messing up the indentation with a 3/4 indent

[–] expr@programming.dev 3 points 1 year ago

That just sounds like a shitty editor, tbh. Pretty basic functionality.

[–] coloredgrayscale@programming.dev -3 points 1 year ago (2 children)

Autoformatter should fix that, unless you use python. (but even then they might fix it to the closest proper indentation level)

[–] Traister101@lemmy.today 9 points 1 year ago

Sometimes. I love auto formatting, I spam the shit out of it more than I spam save but it's definitely not perfect. It gets real confused with inconsistent indention like that. Especially with Python it'll fuckup

Yeah you need an auto formatter, which is worse than not needing it. Also yes its terrible in python like languages