Comment

Comment by occamrazor

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.
parent occamrazor 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton