by krisgee · 5y ago · 0 comments
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.
It is less jarring to see:
Let x = x + 1
because it could be read: we have a given value for x, now let us replace that value with x + 1.
I remember TI basic has "=" for comparison, and "<-" for assignment, like, 'A<-5'. That one, to me made, the most sense. "Put the value of 5 in something called A."