> I've worked with functions in JavaScript that change functionality radically depending on whether you pass an integer or an object.
> I thought this was the way of the world until I got deeper into typed languages, where you learn why not doing that is good. Type envy still stings though.
This is just polymorphism, isn't it? Why is this not a good thing?