DEV Community

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

Collapse
 
dwd profile image
Dave Cridland

Agree do I. Yoda conditions I used as well. Better tools we now have, catch errors they will. Useful some cases remain, as comments say, but needed simple cases no longer are. Writing like Yoda difficult is, and reading like Yoda hard is too.

Collapse
 
greg0ire profile image
Grégoire Paris

Rewrite the whole post in Yoda I definitely should. On the head, the nail would be hit.