Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mrblampo
on Jan 13, 2022
|
parent
|
context
|
favorite
| on:
A small guide for naming stuff in front-end code
Interesting but a bit short on reasons. For example, why is it important for class names used by JS to find elements have a special prefix?
undreren
on Jan 13, 2022
|
next
[–]
I would guess that it is a convention used to highlight a code dependency.
“If you remove or rename this class, the code will break.”
paceaux
on Jan 13, 2022
|
prev
[–]
That's a really valid criticism. I'll update it. Thanks!
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: