News for hackers. Stuff that matters.
Re:OO in Python is mostly pointless by mumblemumble on Wednesday January 27, 2021 @06:32PM (#25935667)
I suppose that this is edging dangerously close to starting a semantic argument, but I'd personally argue that ad-hoc polymorphism is a distinct concept from duck typing that just happens to have a lot of overlap in its use cases. One key distinction is that Clojure multimethods need to be explicitly declared somewhere, whereas duck typing is 100% implicit.

There are no comments on this comment yet.