I agree with that statement. When people hear "Stop using if else", they think you mean this:
age = 27 if( age >= 18){ alert("You are a legal adult!") } if( (age >=18) === false ){ alert("You are not a legal adult") }
Although, I think that this article has a good point.
Some comments have been hidden by the post's author - find out more
Are you sure you want to hide this comment? It will become hidden in your post, but will still be visible via the comment's permalink.
Hide child comments as well
Confirm
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.
I agree with that statement. When people hear "Stop using if else", they think you mean this:
Although, I think that this article has a good point.