News for hackers. Stuff that matters.
Re:Show HN: A library to record and intercept JavaScript at ... by alistproducer2 on Saturday September 09, 2017 @11:51AM (#15207616)
"Polymorphism" is being used incorrectly here. Please see here [0] for a good explanation.

[0]: https://docs.oracle.com/javase/tutorial/java/IandI/polymorph...

Re:Show HN: A library to record and intercept JavaScript at ... by alistproducer2 on Saturday September 09, 2017 @03:39PM (#15208816)
The 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.
Re:Show HN: A library to record and intercept JavaScript at ... by leeoniya on Saturday September 09, 2017 @11:52AM (#15207619)
as with a lot of js terminology, it's been re-appropirated:

http://mrale.ph/blog/2015/01/11/whats-up-with-monomorphism.h...

also, polyfill (hip) === shim (no longer hip)

Re:Show HN: A library to record and intercept JavaScript at ... by nickfargo on Saturday September 09, 2017 @12:12PM (#15207706)
The 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.
Re:Show HN: A library to record and intercept JavaScript at ... by leeoniya on Saturday September 09, 2017 @12:14PM (#15207711)
tbh, polymorphism makes more sense to me in the parametric definition [in the context of weak types/signatures] than in the standard oop def.