Hi Pameya!

Thanks for taking the time to respond. It's much appreciated! :)

I've written plenty of IFs. But the combination of If-Else? Not so much.

You'd rarely need If-Else. It's often a sign of poorly structured code and non-extensible code.

Software Developer Manager | Big4 ex. FinTech | Writer with +1M views. Sharing my opinion & what I learn. YT channel youtube.com/c/NicklasMillard

Love podcasts or audiobooks? Learn on the go with our new app.

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