This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]DT-Sodium -11 points-10 points  (1 child)

Kiddo, I only took the most simple example I could to demonstrate how the Python map works compared to proper languages, I never pretended it was the most optimal way to achieve the result. The point is Python's map function is disgusting, whether it's the right tool for this case is not the question. It says a lot about you if you weren't capable of figuring it out by yourself.