re: Why using Yoda conditions you should probably not be VIEW POST

VIEW FULL DISCUSSION
 

Could the entire situation be avoided by using an editor linting plugin to detect assignment within conditions?

 

It very much could, this is a great idea if you don't need assignments within conditions.

code of conduct - report abuse