I don't get it.
It's a joke. I don't think it was meant to be understood by non-programmers though.
I am a programmer. I understand the code. I just don't see what's funny about it.
Changing something to something else you just wanted to compare with something else is never funny.
He forgot to include the {-------------D~~~~} Hash.
Nerd humor. You passed
Breh! Yer obvs legit uh groomer! Even! (youtu.be)
In programming, = means "assign this value". == Compares two values.
Also the fact that this code doesn't need to be written at all.
+1 for realism, there's no way the action depicted in that cartoon could take place with such algo, isCrazyMurderingRobot remains false no matter what with that piece of code
(post is archived)