MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/igvny1/python_goes_brrrr/g2x3t1r
r/ProgrammerHumor • u/das_freak • Aug 26 '20
789 comments sorted by
View all comments
Show parent comments
5
I haven't kept up with additions to the language in a while. What does := do? It's a pain to google
0 u/[deleted] Aug 26 '20 [deleted] 4 u/BrandolynRed Aug 26 '20 Thanks, I can see why that's controversial. Tbh I'd prefer the rust style match pep. 0 u/[deleted] Aug 26 '20 [deleted] 3 u/BrandolynRed Aug 26 '20 A friend sent me this pep: https://www.python.org/dev/peps/pep-0622/I just came to like pattern matching from haskell/rust etc. 2 u/Kered13 Aug 27 '20 PEP 505, None aware operators, is the most pressing need by far. 3 u/cowardly_lioness Aug 26 '20 It's often called the "walrus operator", which is easier to google than ":=" if you forget its exact function.
0
[deleted]
4 u/BrandolynRed Aug 26 '20 Thanks, I can see why that's controversial. Tbh I'd prefer the rust style match pep. 0 u/[deleted] Aug 26 '20 [deleted] 3 u/BrandolynRed Aug 26 '20 A friend sent me this pep: https://www.python.org/dev/peps/pep-0622/I just came to like pattern matching from haskell/rust etc. 2 u/Kered13 Aug 27 '20 PEP 505, None aware operators, is the most pressing need by far.
4
Thanks, I can see why that's controversial. Tbh I'd prefer the rust style match pep.
0 u/[deleted] Aug 26 '20 [deleted] 3 u/BrandolynRed Aug 26 '20 A friend sent me this pep: https://www.python.org/dev/peps/pep-0622/I just came to like pattern matching from haskell/rust etc. 2 u/Kered13 Aug 27 '20 PEP 505, None aware operators, is the most pressing need by far.
3 u/BrandolynRed Aug 26 '20 A friend sent me this pep: https://www.python.org/dev/peps/pep-0622/I just came to like pattern matching from haskell/rust etc.
3
A friend sent me this pep: https://www.python.org/dev/peps/pep-0622/
I just came to like pattern matching from haskell/rust etc.
2
PEP 505, None aware operators, is the most pressing need by far.
It's often called the "walrus operator", which is easier to google than ":=" if you forget its exact function.
:=
5
u/BrandolynRed Aug 26 '20
I haven't kept up with additions to the language in a while. What does := do? It's a pain to google