Re:Are dynamic languages going to replace static languages? ...
by professoretc on Wednesday August 04, 2021 @04:06PM
(#28065636)
There was an experimental language called Cecil that had "conditional inheritance". You could say things like
You could then overload functions/methods on both `Square` and `Rectangle` and it would call the correct overload depending on the runtime values of `w` and `h`.
[ Parent
| on HN ]
There are no comments on this comment yet.