News for hackers. Stuff that matters.
Re:CSS in JavaScript is like replacing a broken screwdriver ... by madeofpalk on Monday September 11, 2017 @01:20PM (#15220231)
C++ added scoped variables and it was generally regarded as a good thing. Is a 'naming strategy' a reason not to have scoped variables in regular programming languages?

Scoped CSS (like CSS Modules, or whatever Vue has) is just taking BEM, building that into the language and handling it for you automatically without having to worry about silly Block__object--modifier rules.

There are no comments on this comment yet.