On Sun, 29 Nov 2026 20:36:18 +0100, Bonita Montero wrote:
> Am 29.11.2026 um 20:21 schrieb Lawrence D’Oliveiro: >
>> On Sun, 29 Nov 2026 20:08:10 +0100, Bonita Montero wrote:
>
>>> Virtual functions in C++ need less storage since you need only one >>> virtual method table pointer per baseclass.
>
>> That’s actually a limitation, because it disallows >> “monkey-patching”.
> > When do you need to change the polymorphic type of a class at > runtime. In OOP languages no one has missed that feature so far.