this post was submitted on 16 Sep 2024
724 points (97.4% liked)

Programmer Humor

32448 readers
892 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] 20 points 1 month ago (3 children)

Very little of this is uniquely a problem in Python. It seems to me that your problem is with software development in general.

[–] [email protected] 17 points 1 month ago (1 children)

My problem is with semantic whitespace

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

That's really the part I hate the most. it just feels wrong

[–] [email protected] 4 points 1 month ago (1 children)

That's the part I like the most. I don't want to work on any code that isn't properly formatted, and at that point why bother with curly braces, etc?

[–] [email protected] 4 points 1 month ago* (last edited 1 month ago)

They help to digest the individual code blocks. My mind doesn't digest whitespace the same way, it simply interprets it as formatting.

It's also much more frustrating to edit imo since the formatter generally has no idea what to do with misaligned whitespace. I also find it frustrating that you can't do multiline lambdas, last I used it.

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

No, the dependency management in Python is a nightmare. There's like a billion options for it.

[–] [email protected] 5 points 1 month ago (1 children)

Use pipenv and don’t think about it anymore.

[–] [email protected] 2 points 1 month ago

What's the difference? I rarely use Python and every time I do I have to relearn which tools are the go to ones. In Java it's a little simpler, we really just have Maven and Gradle. They have their own problems, sure, what tool doesn't, but the thing that annoys me about python is the quantity of tools. There often isn't a clear winner.

Now, to be fair to python, a lot of the ones mentioned on this post are very specifically for data science use cases and not general purpose development.

[–] [email protected] 8 points 1 month ago (1 children)

I used to love it so much more...

[–] [email protected] 6 points 1 month ago (1 children)

come into the light, my child. become an electrical engineer.

[–] [email protected] 7 points 1 month ago (1 children)

The same meme with "wiring and lights" at the top. Then you descend to motors, transformers delta-y phases, RC and RL circuits, op amps, BJT circuits, reverse bias what?, differential equations, and eventually signals and systems.

[–] [email protected] 2 points 1 month ago (1 children)

at least then you're dealing with the laws of nature instead of man-made BS. if you're like me and have 0 tolerance for BS, it's an absolute win.

[–] [email protected] 1 points 1 month ago

Your perspective might be why I enjoy microcontroller work. I love getting to know everything about the system, reading hardware documentation, and getting the low level parts to work in a highly deterministic way.

I use ATTiny85 cores when a ESP32 costs almost the same, but the 85 only has 256 bytes of SRAM and five I/O pins so I can track it all and ensure it will do exactly what I want.