3 ms·
The 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-base
by nine_k 9y ago
The 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.