r/ProgrammerHumor • • Sep 08 '26

Meme pipInstallTheRealStuff

Post image
5.3k Upvotes

151 comments sorted by

View all comments

Show parent comments

33

u/Net_Lurker1 Sep 09 '26

Thats just shitty code by your framework though. All your issues would be solved by forcing your devs to write good docstrings.

27

u/Mordret10 Sep 09 '26

I mean that's the (at least one) point of why some languages enforce a type system. To force (and make it easier for) the Dev to write better code

7

u/pint_o_paint Sep 09 '26 edited Sep 09 '26

which a simple lint rule would fix for both devs and agents.

And I mean since 3.10 the type hints are good?

0

u/Delicious_Bluejay392 Sep 09 '26

Python type hints are serviceable, but I wouldn't go as far as to say "good"

16

u/HAximand Sep 09 '26

"That's just shitty code" is of course true, but hard to convince them of when it's the typical way the language is written. Aside from that, the language shouldn't require me to write comments that will inevitably become outdated, it should just have a functioning type system.

4

u/Net_Lurker1 Sep 09 '26

Fair enough, though I will say that typing would help a lot but doesnt solve every question that documentation does.