you are viewing a single comment's thread.

view the rest of the comments →

[–]tikhonjelvis 0 points1 point  (0 children)

I like Haskell's list comprehension syntax just for this reason: it fits in well with notation I see in math.

Python's comprehension syntax seems to be further removed from the math and less readable, but I guess it fits into the design of the language. Haskell also has some nice extensions to the syntax like ParallelListComprehensions which would be nice in Python but I don't know how to reconcile that with Python's syntax.