loading...

Discussion on: Why using Yoda conditions you should probably not be

Collapse
scottjoe profile image
Scott Williams

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

Collapse
greg0ire profile image
Grégoire Paris Author

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