Julia’s syntax is the same as Python’s. It’s very natural for short expressions, a bit cumbersome for multiline comprehension, because there is no obvious way to format the code.
Another gripe I have is the order of the for clauses:
[x for xs in xss for x in xs]
should, in my opinion, be instead written as
[x for x in xs for xs in xss]
Also Haskell gets the order of ‘<-‘ clauses wrong, so probably mine is a minority opinion.
Another gripe I have is the order of the for clauses:
should, in my opinion, be instead written as Also Haskell gets the order of ‘<-‘ clauses wrong, so probably mine is a minority opinion.