DEV Community

Discussion on: Do we even need if/else?

Collapse
 
haseeb1009 profile image
Muhammad Haseeb

Very well explained @lukeshiru
I think moving nested conditions away make it more explicit and readable and yet compact than multiple if else