Hi Andrei,

Thanks for reading and responding, much appreciated :)

I'm not entirely sure what you're getting at, but it's quite common practice to use guard clauses. Tho, that's ofc not a demonstration of if-else statements.

Now, the if-else illustration was merely to set the scene. It's overly simplified.

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