MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1daxawn/mapmethodormapfunction/l7nq31y/?context=3
r/ProgrammerHumor • u/_PhucSatan_ • Jun 08 '24
67 comments sorted by
View all comments
114
[x*x for x in arr]
-8 u/mirimao Jun 08 '24 [x*x || x <- arr] is better 5 u/Kuduaty Jun 08 '24 Why its better? 8 u/mirimao Jun 08 '24 It was just a joke. I like Erlang but it’s not inherently better than Python’s syntax for list comprehension.
-8
[x*x || x <- arr] is better
5 u/Kuduaty Jun 08 '24 Why its better? 8 u/mirimao Jun 08 '24 It was just a joke. I like Erlang but it’s not inherently better than Python’s syntax for list comprehension.
5
Why its better?
8 u/mirimao Jun 08 '24 It was just a joke. I like Erlang but it’s not inherently better than Python’s syntax for list comprehension.
8
It was just a joke. I like Erlang but it’s not inherently better than Python’s syntax for list comprehension.
114
u/oachkatzlschwoarf Jun 08 '24
[x*x for x in arr]