Open in app
Angelo Hulshout 🇳🇱🇮🇹
31 Followers
About

Sign in

31 Followers
About
Open in app
Angelo Hulshout 🇳🇱🇮🇹

Angelo Hulshout 🇳🇱🇮🇹

·Sep 6, 2020

Bravo! A pity your title doesn’t reflect the content and vice versa. Indeed, if you only have enums or discrete values an if or switch is not SOLID, but to call it poor mans polymorphism based in just that one case, I think not.

If-Else Is a Poor Man’s Polymorphism
2.8K
30

Nicklas Millard

More from Angelo Hulshout 🇳🇱🇮🇹

Independent Software architect, trainer and coach at Delphino Consultancy (http://www.delphino-consultancy.nl)

More From Medium

9 Painful Signs That Your Partner Is No Longer In Love With You

Elizabeth Kasujja in Hello, Love

What’s New in Flutter 2.0

Chris Sells in Flutter

The Nastiest Trick in the Narcissist Playbook

Karen Nimmo in On The Couch

Bitcoin Hitting $100,000 Doesn’t Matter. Many People Have Missed the Point.

Tim Denning in The Ascent

Three Things in Life That Aren’t Worth The Effort

Sean Kernan in Mind Cafe

The Negative Side Effects of Beautiful Women

Kim Petersen in Living Out Loud

5 Signs The Person You Thought Was The One Isn’t

Dayana Sabatin in P.S. I Love You

NYTimes Peru N-Word, Part Three: What Happened in the 2019 Investigation?

Donald G. McNeil Jr.

About

Help

Legal

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