DEV Community

loading...

Discussion on: Keeping your code clean by sweeping out "if" statements

Collapse
stefanofago73 profile image
Stefano Fago

Thank You for your post. It's a diffucult argument, also because you need a balance between different aspects such as performance, design, readability, ... and different answers come from different paradigms. Look at this: github.com/stefanofago73/IOPvsOOP/... I think of it like a starting point: in the future I desire to build a larger store of anti-if/better-if design, so... thank you for your posts, keep going and good work!

Forem Open with the Forem app