13 ms·
It's unclear to me the problem you are addressing. Searching for places to make amendments is an important consideration when naming something. I would have tho
by Flenser 8y ago
It's unclear to me the problem you are addressing. Searching for places to make amendments is an important consideration when naming something. I would have thought that class names like "profile-card" would be easier to search for than "m-5 p-5 text-gray-light bg-gray-darker border border-gray-light". Especially if you have some page elements which may look the same now but are functionally different and could look different in the future. How would you find one and not the other?
Is that the problem you were addressing or did you have something different in mind?
- groby_b 8y agoI was commenting on the original proposal, even in the single-client context. So, we're talking about the same problem - I just obviously wasn't very clear about it :) So, yes, semantic names matter, and functional names are a bad idea in the long run, because they shatter maintainability.