Polymorphic functions and method dispatch in JavaScript
On Jun 24, 2011 JavaScript | Web Architecture 1 1 CommentDon’t be afraid of the big words. This stuff is simple. Polymorphism just means that something behaves differently based on context, like certain words can have different meanings depending on how they’re used. e.g., “Watch out for that sharp turn in the road!” “Wow, that knife is sharp!” “I know you’re sharp enough to wrap…
Read MoreDon’t be afraid of the big words. This stuff is simple. Polymorphism just means that something behaves differently based on context, like certain words can have different meanings depending on how they’re used. e.g., “Watch out for that sharp turn in the road!” “Wow, that knife is sharp!” “I know you’re sharp enough to wrap…
Read More