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

Programmer Humor

32730 readers
232 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] 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] 19 points 3 weeks ago (11 children)

You can totally write heavy duty things if you know what you're doing: use type hints, static checkers, tests, etc. It just takes a bit more effort and care.

[–] [email protected] 17 points 3 weeks ago (6 children)

But why would I use something that takes more effort and care?

I'm sure you're right and it's possible, but if I don't have to fix another python project at work I'll be in heaven.

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

it's more effort and care compared to a throwaway script, not necessarily compared to other languages

load more comments (5 replies)
load more comments (9 replies)
load more comments (12 replies)