Bruce Lawson on Nostr: Here's a good question: what are your fave quick wins when refactoring, or just ...
Here's a good question: what are your fave quick wins when refactoring, or just tweaking while fixing an unrelated bug? I like it when legacy codebases decided to hang styles off classes, so I can change <div class=nav> into a <nav class=nav> and make it much better for assistive tech users with no other changes required.
https://mastodon.social/@timking/112203115458940448Published at
2024-04-02 22:44:57Event JSON
{
"id": "12cb4aa4cebc7355a8b283e55473d8aa3e190e4c4d4d06eb2dd236b29afdc592",
"pubkey": "6f2e8ab4b84beca9a58e2d13635c427fd0bc3b8bf12634e89d6f569db27e67b8",
"created_at": 1712097897,
"kind": 1,
"tags": [
[
"proxy",
"https://social.vivaldi.net/users/brucelawson/statuses/112204047821802725",
"activitypub"
],
[
"L",
"pink.momostr"
],
[
"l",
"pink.momostr.activitypub:https://social.vivaldi.net/users/brucelawson/statuses/112204047821802725",
"pink.momostr"
]
],
"content": "Here's a good question: what are your fave quick wins when refactoring, or just tweaking while fixing an unrelated bug? I like it when legacy codebases decided to hang styles off classes, so I can change \u003cdiv class=nav\u003e into a \u003cnav class=nav\u003e and make it much better for assistive tech users with no other changes required. https://mastodon.social/@timking/112203115458940448",
"sig": "30ed6141746add27811ba348173626a8bf3bf3195e5aea04b51c9d100633d362873dc0577498601446d0da8107fb26432b03931a790cddbbefe1a64c68891b29"
}