Comment

Comment by krisgee

>- A friend of mine, when showing him the statement 'x = x + 1' was confused; surely, x cannot also equal x+1.

I think the best thing that my CS 101 prof did was always refer to the assignment operator as "gets" so you'd say "eks gets eks plus one" out loud. It really helped divorce assignment and equality in my mind.

parent krisgee 5 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton