|
|
|
|
|
by Barrin92
1704 days ago
|
|
the main argument for dynamic typing in particular in the context of object oriented programming is decoupling. It is always the receiving object's responsibility to handle whatever they get. if you write dynamic OO languages with a static mentality in mind, i.e. you try to enforce some sort of global type expectation before the program runs, then obviously static languages are better, because you're trying to write static code. Benefiting from dynamic languages means ditching that mindset altogether. |
|