this post was submitted on 28 Nov 2024
464 points (88.5% liked)

Programmer Humor

32718 readers
538 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 5 years ago
MODERATORS
 
you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 112 points 3 weeks ago (44 children)

Lmao, bruh. How do people keep praising a language where messing up a space breaks everything and there is no real type system?

[–] [email protected] 75 points 3 weeks ago (15 children)

The whitespace doesn't bother me. Any IDE worth a damn will manage that for you. As for the type system, yeah, I strongly prefer static typing, but for simpler projects I can see the convenience of it.

My real issue with Python comes with managing a development environment when multiple developers are working on it. Dependency management in Python is a headache, and while in theory, virtual envs should help with synchronizing environments from machine to machine, I still find it endlessly fiddly with a bunch of things that can go wrong that are hard to diagnose.

Python is great for small scripts, proofs-of-concept, and such, but I wouldn't write anything more heavy-duty than that in it.

[–] [email protected] 9 points 3 weeks ago (1 children)

Any IDE worth a damn will manage that for you.

Yeah in like 10% of cases. I'm copying something from a pdf my prof gave. The only ones able fix spacing now are me and God

[–] [email protected] 3 points 3 weeks ago

You, god, pretty much any Formatter and ide. Black Formatter: "All leading tabs are converted to spaces, but tabs inside text are preserved." Vscode has a command to convert between the two, and non-leading tabs are a simple replace/regex away from being converted. If you mean unorthodox spacing, if you have code with like 7 leading spaces, then that's a matter for a priest.

load more comments (13 replies)
load more comments (41 replies)