Hey Aditya!

Thanks for reading my story :)

Sure, there’s a reason why if-else exists. There’s also a reason GOTO exists.
But does that mean they’re always the best choice?

If there’s one, single reason why If-Else is terrible, it’d be because of its poor readability. Lots of if-else statements are terrible to read.

Maybe you want to check out this story

Written by

Tech writer with 621K+ views. Sharing my opinion and what I learn. Danish C# backend engineer in FinTech. Ex Big4 senior tech consultant.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store