3 ms·
I don't need this. In most cases everything can be solved with different methods overrided by type. This is OOP way. But it's makes language more complicated a
by stokito 9y ago
I don't need this. In most cases everything can be solved with different methods overrided by type. This is OOP way.
But it's makes language more complicated and what is more important - it makes harder to refactor, especially via IDE.
So my opinition: we don't need this and this doesn't have any value besides marketing.
- nine_k 9y agoThe problem with OOP way is that it's overly wordy and complex in this case. Much like switch statements in procedural code before the advent of OOP. Type-based function overloads are not specific to OOP, by the way.