Brian LeRoux 💚 on Nostr: i know we all got sold on 'isomorphic' or whatever but littering code with ...
i know we all got sold on 'isomorphic' or whatever but littering code with conditionals is the definition of spaghetti code. looking code like 'use server' or isNode or likewise reeks of problems in an uncanny valley no compiler can fix.
we separate concerns for these very good reasons!
its cool if the language is the same that doesn't mean the logic is or even should be between client and backend.
Published at
2024-09-09 18:39:14Event JSON
{
"id": "9ac343bf4ba208c399d57d3c9a63187d89e80320baa9a5fb729d83a1942a7cfc",
"pubkey": "1fddad01feaa543cd1a4728bac796865ee4a8d46b07eb9a2d0f9b1b9c33d21f1",
"created_at": 1725907154,
"kind": 1,
"tags": [
[
"proxy",
"https://indieweb.social/@brianleroux/113109051251582019",
"web"
],
[
"proxy",
"https://indieweb.social/users/brianleroux/statuses/113109051251582019",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://indieweb.social/users/brianleroux/statuses/113109051251582019",
"pink.momostr"
],
[
"-"
]
],
"content": "i know we all got sold on 'isomorphic' or whatever but littering code with conditionals is the definition of spaghetti code. looking code like 'use server' or isNode or likewise reeks of problems in an uncanny valley no compiler can fix. \n\nwe separate concerns for these very good reasons! \n\nits cool if the language is the same that doesn't mean the logic is or even should be between client and backend.",
"sig": "29d6ab630c8acd030096ba5fb8919fd278694d199d4e01dba3a0bb22639c5d090cab56e21b72b6e3dd3c9ec22adf46aa95ef13a3c042d79f5f9cd87cbca796c7"
}