The bigger sin is the use of “Yoda style” order of “if” statements with the value before the variable. I don’t get the “protecting from myself” thinking, it’s atrocious to read. He even went with the “===”’ operator, hard to miss two equal signs for it to become an assignment, so why bother?
The bigger sin is the use of “Yoda style” order of “if” statements with the value before the variable. I don’t get the “protecting from myself” thinking, it’s atrocious to read. He even went with the “===”’ operator, hard to miss two equal signs for it to become an assignment, so why bother?