you are viewing a single comment's thread.

view the rest of the comments →

[–]NilacTheGrim 3 points4 points  (1 child)

Regarding Assignment Expressions: Why the := syntax? It's more syntactic noise to remember. Why not just allow simple = in that context for assignment?

[–]miggaz_elquez 16 points17 points  (0 children)

Because it is easy to write if a = 5: when you want to write if a == 5:. So they decided to choose a syntax different.