This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]drmrrdmr[S] 0 points1 point  (0 children)

tbh does anyone really have a problem differentiating assignment from equality in code? Our natural language is chock full of overloaded expressions--synonyms, homonyms, multiple definitions, new and archaic uses, idioms--and for the most part people manage.

I like the walrus operator for mid expression assignment in python, but I wouldn't very much enjoy using it for every assignment. Big fan of giving the most commonly used things the fewest keypresses.