Hi Nicolai!

Thanks for taking the time to read and respond to my story! Much appreciated :)

I’m not checking to see if the ID passed to the method is correct — only whether the string is null or empty is checked.

I think there might be some differences in the approaches the languages take to defensive programming. This approach I just displayed is very common in C# .NET.

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