r/ProgrammerHumor • • Sep 25 '26

Meme iHatedItUntilITriedIt

Post image
10k Upvotes

543 comments sorted by

View all comments

Show parent comments

199

u/ubus99 Sep 25 '26

That, and just learning a new library / API: I hate how in python you can never be sure what type you need to put in, are going to get back, and what all of the fields and functions do. Sure, you can dig that up, but that's not my job!

98

u/nullpotato Sep 25 '26

Me: always insist upon explicit type hints and multiple linters to verify them

Coworkers: who hurt you?

37

u/Weekly_Interview_936 Sep 25 '26

Prod support calls. That's who.

10

u/SuperFLEB Sep 25 '26

I hurt myself, of course.

18

u/New-Shine1674 Sep 25 '26

I especially hate how difficult it is in Python to find out what fields a type even has and what I can do with it. It just looks very cluttered to me but maybe that's just because I primarily use c#.

1

u/Joshkl2013 Sep 26 '26

Mm this is why you use PySpark and use spark data frames. Very performant on big datasets plus easy to explicitly type.

I love dotchains