The more that I read about polymorphism, the more that it appears that every single person has a different idea about what it means (and is opinionated) and if they have heard of the subcategories of polymorphism (adhoc and parametric especially) they likewise have varying opinions about what those mean. I've been researching this topic for some hours now and every single source, be it in academia or elsewhere, explains these terms differently.
It seems the problem is that there is not merely 3 cases to think about but more like 10. So each person attributes different terms to a subset of those 10.
And it depends on whether you're talking about OOP or procedural programming.
But who is the final authority on what the various polymorphisms are? Academics don't seem to know. Bloggers don't seem to know. Who is the authority? I've tried reading Christopher Stratchey and he's as clear as mud.
Could it be that this term started out as fuzzy and not clearly defined, and the problem has snowballed?
Aucun commentaire:
Enregistrer un commentaire