513
you are viewing a single comment's thread
view the rest of the comments
[-] aloofPenguin@lemmy.world 2 points 3 weeks ago

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 3 weeks ago

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 3 weeks ago* (last edited 3 weeks 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 3 weeks 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 3 weeks ago

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

this post was submitted on 17 Dec 2025
513 points (95.9% liked)

Programmer Humor

28360 readers
204 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