Brian LeRoux 💚 on Nostr: not sure when the perception became that it 'does not matter' what you send to a ...
not sure when the perception became that it 'does not matter' what you send to a browser but we should change that… code should be readable and clear. the code you write should be the code that runs. otherwise userland bloat and debugging woe is the outcome.
these aren't super controversial statements but they do fly in the face of the generated div soup nightmare that modern #javascript has become.
Published at
2024-03-11 17:45:47Event JSON
{
"id": "cc2cc33a96c92522683dd0268508ec036d11a195a3b55392695a5dc0d3b8bbb1",
"pubkey": "628bb5b05cd5750b79c74b58b42b8b818a68abf06adb2e8b3057992c9be4c0f1",
"created_at": 1710179147,
"kind": 1,
"tags": [
[
"t",
"javascript"
],
[
"proxy",
"https://indieweb.social/users/brianleroux/statuses/112078300596950481",
"activitypub"
]
],
"content": "not sure when the perception became that it 'does not matter' what you send to a browser but we should change that… code should be readable and clear. the code you write should be the code that runs. otherwise userland bloat and debugging woe is the outcome.\n\nthese aren't super controversial statements but they do fly in the face of the generated div soup nightmare that modern #javascript has become.",
"sig": "4eb901350cbf1b8c320c553aa7e2f3075b24b8269309c14760d932cdd6b4ac7676b863e05bb7859e1b92c196cac159940f76c89bbd079c76292076ec52445041"
}