DEV Community


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

greg0ire profile image
Grégoire Paris Author • Edited

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.