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.
Published at
2023-06-29 13:21:01Event JSON
{
"id": "bee6dbc867fb76c90fc156498e813b8977be302f33d1c8fb045fbc19e842a1cf",
"pubkey": "add2d2d3003944b7b8aed1c1969f4ec51ed43dddb33b09e372105712f561bc13",
"created_at": 1688044861,
"kind": 1,
"tags": [
[
"client",
"coracle"
]
],
"content": "The cascade in CSS is like inheritance in Object-Oriented programming.\n\nIt sounds like a good idea at first, but it often causes more problems than it solves.\n\nInheritance in OO leads to brittle hierarchies that are risky to change and hard to understand.\n\nThe CSS cascade leads to the same problems.",
"sig": "6edde0463f031f3f4e46689ec2741b819b3bc1c4c70f626353e17fa118fe441287c2ef18a16d4b7c1764e94fddf4dcb1f5f3ab1e3d782e691e6295cf4f9d7166"
}