DEV Community

loading...

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

Collapse
greg0ire profile image
Grégoire Paris Author

You can still use code review and linters with legacy code though. And unit tests, if you can decouple new code you introduce from the legacy code.

but you gain better control over your code flow.

What do you mean by that exactly?