this post was submitted on 17 Dec 2025
515 points (96.4% liked)

Programmer Humor

28016 readers
1678 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
[–] aloofPenguin@lemmy.world 2 points 1 week ago (2 children)

This is the one thing I hate about python, because the spacing would differ between editors. I used vim to create the files on one system, and geany to edit them on another. Via uses 8 spaces in a tab (at least for me), while geany uses 4. This makes python mad, and drives me crazy. 

Also, the rules for whitespace separation between things like loops, methods, and the rest of the code is annoying/ wierd (at least to me).

[–] who@feddit.org 15 points 1 week ago (2 children)

Via uses 8 spaces in a tab (at least for me), while geany uses 4.

You know that editors let you change their defaults, right?

[–] eager_eagle@lemmy.world 4 points 1 week ago* (last edited 1 week ago)

and that indentation defaults in decent editors are usually language dependent. I'm not familiar with these editors, but... come on - if they use one default for all files, OP should use a better tool.

[–] aloofPenguin@lemmy.world 1 points 1 week ago

Yes, but I don't normally program in python, so I never did. When I had to, I never thought of changing it (it wasn't for long anyways and was less of a thought out decision to do programming in vim)

[–] jjjalljs@ttrpg.network 13 points 1 week ago

Get a code formatter. Ruff is popular. So is black. Never think about it again.