Comment

Comment by bitterblotter

FYI, In the article: > I believe it is the same reason why Python does not allow assignments in expressions: Python wants to clearly separate statements and expressions

...Isn't quite right:

https://docs.python.org/3/whatsnew/3.8.html > There is new syntax := that assigns values to variables as part of a larger expression

Very interesting post though

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton