2 ms·
Heh, I just read an explanation of this the other day: https://www.hillelwayne.com/post/equals-as-assignment/ https://www.hillelwayne.com/post/equals-as-assign
by Zarel 9y ago
Heh, I just read an explanation of this the other day:
https://www.hillelwayne.com/post/equals-as-assignment/ https://www.hillelwayne.com/post/equals-as-assignment/
The summary is that C used it because assignment was a lot more common than equality checking, and back then, typing fewer characters was a big deal.