schizanon on Nostr: The cascade in CSS is like inheritance in Object-Oriented programming. It sounds like ...
The cascade in CSS is like inheritance in Object-Oriented programming.
It sounds like a good idea at first, but it often causes more problems than it solves.
Inheritance in OO leads to brittle hierarchies that are risky to change and hard to understand.
The CSS cascade leads to the same problems.
It sounds like a good idea at first, but it often causes more problems than it solves.
Inheritance in OO leads to brittle hierarchies that are risky to change and hard to understand.
The CSS cascade leads to the same problems.