I don't think you understand what overloading means; It's not overloading if you write the equivalent of a switch statement (your chained ifs) yourself. That is the compilers job. As to duck typing: people do this all the time with c and function pointers, and c++ and multiple inheritance.
in virginia, the drivers licence now demonstrates proof of legal presence. They've upped the documentation requirements when receiving the license accordingly.
I don't think you understand what overloading means; It's not overloading if you write the equivalent of a switch statement (your chained ifs) yourself. That is the compilers job. As to duck typing: people do this all the time with c and function pointers, and c++ and multiple inheritance.
in virginia, the drivers licence now demonstrates proof of legal presence. They've upped the documentation requirements when receiving the license accordingly.
but /home is where I do all my compiling from! Just goes to show you, one size does not fit all.