News for hackers. Stuff that matters.
Re:A small guide for naming stuff in front-end code by mrblampo on Thursday January 13, 2022 @03:48AM (#29918300)
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?
Re:A small guide for naming stuff in front-end code by undreren on Thursday January 13, 2022 @03:52AM (#29918328)
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.”

Re:A small guide for naming stuff in front-end code by paceaux on Thursday January 13, 2022 @05:26AM (#29919093)
That's a really valid criticism. I'll update it. Thanks!