Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
devios157016yI work on a product whose initials are QP and the main API file is named QPapi.php.
Ever since I started, the junior has referred to the file as "cue papi" and I haven't been able to call it anything since. 😂 -
@greg- because the classname is a hook for the style not the style itself. So instead of class="grey" we should use something like class="secondaryAccentColor". That way it can be themed as you like and you won't end up with cases like
.grey {color: blue;}
Better yet, don't mention colour in the classname at all. Eg: "secondary-message muted".
There's no right way to do this, only differently wrong ways. It's a matter of finding the least wrong way for your use-case.
Related Rants
It’s pup time! 🐶
rant
html
p