Hey, I'm the full-stack developer you've been dreaming of! I code like a wizard, debug like a ninja, and crack a joke like a stand-up comedian, all rolled into one. So, let's we work together!
For more details, please check these descriptions (they are for the C# language, but the operators behave similar in other languages like PHP, Java etc
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
The obvious mistake is on
if(isCrazyMurderingRobot = true)
,We should use
==
to check if the variable is setwhile using
=
to assign the valueI'm not sure in other languages, but I think you should have nested curly brackets
{}
for everyif(condition)
.The correct way to code is
For more details, please check these descriptions (they are for the C# language, but the operators behave similar in other languages like PHP, Java etc