Baldur Bjarnason on Nostr: CSS vs JS is a case in point. JS’s complexity tends to come from systemic ...
CSS vs JS is a case in point. JS’s complexity tends to come from systemic interactions between language structures whereas CSS complexity tends to come from interactions in the DOM. (Generalising a bit, but roughly.) If you come at CSS with the JS worldview in an environment where you don’t control the DOM you’re basically fucked as a learner and CSS will feel unpredictable and super complex.
Published at
2024-05-22 11:50:54Event JSON
{
"id": "2c5b38a0e15076799613f5b6027dd28007a4f415b9fcc5970ef03e13f92e7d24",
"pubkey": "11f94b00429b537972e1e4b4858c9a4226382961ef5995e3b77ff20bf92899d3",
"created_at": 1716378654,
"kind": 1,
"tags": [
[
"e",
"46a6c2c85d2056508cce51b7c88f7cf0e60a9c39e1a42965bb27e5fa3c78019b",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://toot.cafe/users/baldur/statuses/112484591508419264",
"activitypub"
]
],
"content": "CSS vs JS is a case in point. JS’s complexity tends to come from systemic interactions between language structures whereas CSS complexity tends to come from interactions in the DOM. (Generalising a bit, but roughly.) If you come at CSS with the JS worldview in an environment where you don’t control the DOM you’re basically fucked as a learner and CSS will feel unpredictable and super complex.",
"sig": "9505784c4199a8b4ceee169c3d529e3ac62c065fef8b98ffe2ffa59324f4027871a5a21eb5fd16df8b34962a1cd296a3be97f388fbc6f4720531a194a5d3e4db"
}