I still think the problem these naming conventions are trying to solve result directly from people deeply misunderstanding the design and purpose of CSS.
Luckily, the direction CSS is evolving in seems to still follow the path of its intended design, with @scope addressing many of the problems people attempt to fix with conventions like BEM.
Soon, selectors like .nav__link {/* Rules */} could turn into @scope (#main-nav) { a:link {/* Rules */} }
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
I still think the problem these naming conventions are trying to solve result directly from people deeply misunderstanding the design and purpose of CSS.
Luckily, the direction CSS is evolving in seems to still follow the path of its intended design, with
@scope
addressing many of the problems people attempt to fix with conventions like BEM.Soon, selectors like
.nav__link {/* Rules */}
could turn into@scope (#main-nav) { a:link {/* Rules */} }