3 ms·
I am deeply convinced the killer application of static types is polymorphism. Types create ways of organizing your code that are simply not available for dynami
by marcosdumay 9y ago
I am deeply convinced the killer application of static types is polymorphism. Types create ways of organizing your code that are simply not available for dynamic languages.
Unless, of course, you get out of your way writing dispatchers, as is usual in Python. But those are long, repetitive, bug-prone and can not really be made generic.
- seanmcdirmid 9y agoYou can have dynamic types that give you something similar. Overloading is much more difficult (though not impossible, few dynamic languages allow overloading outside of the receiver; e.g. In Dylan).