Re:Dart 3.1 and a retrospective on functional style programm...
by trashburger on Thursday August 17, 2023 @06:01AM
(#37159444)
Well, as my sibling comment says, you have just re-implemented dynamic dispatch in object programming ;). As a response to your edit, note that dynamic dispatch and immutability are not mutually exclusive; an object can have immutable state and can still have its behavior extended by creating an adapter object, for example.
[ Parent
| on HN ]
There are no comments on this comment yet.