|
|
|
|
|
by aflag
1877 days ago
|
|
In functional programming you'd just create a new function that takes a value of the same type of those other 3 methods. But anyway, creating a new method without changing any of the methods of the super class I think it's generally ok. The problems arise from modifying methods that the super class already implemented. |
|