428
submitted 2 weeks ago* (last edited 2 weeks ago) by Pro@programming.dev to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] brian@programming.dev 1 points 2 weeks ago

instead of using classes you just use whatever your ui library provides for reuse. stick a classname string in a variable and you have a class. use a component and it just contains all its styles.

unless you mean that if you look in the inspector you see a mess of classnames. I don't have a solution there

this post was submitted on 30 Jun 2025
428 points (97.8% liked)

Programmer Humor

25080 readers
1454 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS