4 ms·
"Polymorphism" is being used incorrectly here. Please see here [0] for a good explanation. [0]: https://docs.oracle.com/javase/tutorial/java/IandI/polymorphism
by alistproducer2 9y ago
"Polymorphism" is being used incorrectly here. Please see here [0] for a good explanation.
[0]: https://docs.oracle.com/javase/tutorial/java/IandI/polymorphism.html https://docs.oracle.com/javase/tutorial/java/IandI/polymorph...
- leeoniya 9y agoas with a lot of js terminology, it's been re-appropirated: http://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.html http://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.h... also, polyfill (hip) === shim (no longer hip)
- nickfargo 9y agoThe term is not merely a recent appropriation. Parametric polymorphism is a concept from functional programming and formal type theory, with application far beyond just JavaScript.
- leeoniya 9y agotbh, polymorphism makes more sense to me in the parametric definition [in the context of weak types/signatures] than in the standard oop def.
- alistproducer2 9y agoThe link is completely different than it was when I commented. That doesn't mean the criticism of my comment are invalid, but this is pretty weird.