Join Nostr
2024-10-09 17:20:43 UTC
in reply to

Nolan Lawson on Nostr: BTW I never understood the whole Liskov substitution thing until this post. It's not ...

BTW I never understood the whole Liskov substitution thing until this post. It's not just a problem for built-ins, but also web component libraries that allow subclassing. Any change to the superclass is effectively a breaking change unless the subclass automatically gets the new behavior somehow (e.g. super.connectedCallback).