r/ProgrammerHumor • • Aug 26 '20

Python goes brrrr

Post image
59.2k Upvotes

789 comments sorted by

View all comments

413

u/[deleted] Aug 26 '20

Started learning python and thats my favourite thing after no ; thingy

115

u/ProbablyInnacurate Aug 26 '20

I love comprehensions.

50

u/axlee Aug 26 '20

I prefer lambdas + map/reduce/filter/etc, usually easier to understand with a quick look

27

u/marmoshet Aug 26 '20

Functional programming gang rise up

5

u/-Potatoes- Aug 26 '20

In my first year at university we did functional programming (not in python, unfortunately) and I think its left me forever scarred

→ More replies (3)

15

u/ProbablyInnacurate Aug 26 '20

Oh yeah, defs. I get stuck making them complex, unreadable and un-pythonic because it's fun.

7

u/Ghos3t Aug 26 '20

I've heard list comprehension is more optimized that map, reduce etc due to the way it is implemented in Python. Something to do work map, reduce being function calls

6

u/[deleted] Aug 26 '20

My favorite is that there are options so you can pick the syntax you prefer

→ More replies (1)
→ More replies (3)