Skip to content
loading...

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

TOP OF THREAD FULL DISCUSSION
re: Linters That's all we need. Linters can easily catch problems like this one. And many others, of course. So let's forget about Yoda conditions, l...
 

Yoda conditions are a lot like the Hungarian notation: it's a "clever" trick that help you catch mistakes for every gazillion time you use it. Just not worth it.

code of conduct - report abuse