I found very interesting you dodge the polymorphism subject, saying that it’s not OOP exclusive but…
Marcio Stramosk
13

Polymorphism is just another method of grouping the data together, filtering it and producting the result in caller-expected way. Hence it is not unique to OOP. You can create data structure and say, if it has field X, I’m okay with it being passed to functions expecting the data to have that field and no less/more.

One clap, two clap, three clap, forty?

By clapping more or less, you can signal to us which stories really stand out.