Hi Jason!

Thanks for catching the mistake! Had totally overlooked that. Always great to have my biggest critics read my work :)

Example 5 is all about using if-else when it’s absolutely not appropriate. Quite often, you’d like to just add another class in order to extend you application. That’s exactly what type discovery allows you to do.

Yeah, it’s a lot more classes, and way more overhead than just using if-else, but there’s often a tradeoff that you’d have to consider.

lol how about we pump that 32mb to 100mb easy?

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