This content originally appeared on Geoff Graham and was authored by Geoff Graham
Me to Claude: I think there’s a less aggressive way to increase the selector’s specificity without using the !important keyword.
Claude to Me: Oh yes, you are absolutely correct! The !important keyword is overly aggressive for this situation and there are alternative approaches that will still allow me to increase specificity without sacrificing maintainability.
For example, [blah, blah, blah].
[…much…much…later…]
Perfect! I have increased the selector’s specificity from 0,0,1,0 to 0,0,2,0. Here’s how it’s calculated, [blah, blah, blah].
Me: Wasn’t I the one who reminded you to take specificity into consideration?
Claude: Haha, you make a really good point! The detailed explanation was over the top considering the suggestion came from you in the first place. My bad!
Me: [Ends session.]
And that’s a “small” detail. They’re like cockroaches: you spot one of them and suddenly they’re everywhere.
Technical debt, it’s a helluva drug.
This content originally appeared on Geoff Graham and was authored by Geoff Graham