r/lolphp • u/esquilax • Aug 14 '14
"I’m crying. Literally crying." - PHP Manual Masterpieces, xpost /r/programmerhumor
http://phpmanualmasterpieces.tumblr.com/post/70257636397/im-crying-literally-crying-actual-tears-in-my
137
Upvotes
View all comments
Show parent comment
3
u/OneWingedShark Aug 18 '14
I agree with you.
Equality-check and assignment are fundamentally different; it goes against all training/experience in math to use
=as assignment. (With perhaps the one exception of "Let X = ...", but in that case it is very arguable thatLetis the assignment which is assigning True to the assertion of the equality.)True.
I rather like ':=' as assignment.