DEV Community

Discussion on: Is Commenting Code that necessary?

Collapse
 
patferraggi profile image
Patricio Ferraggi

shouldn't this be done by using BEM?

Thread Thread
 
aashrithashiva29 profile image
Aashritha Shiva

It can be ! Using BEM we can have good naming rules that help understand the design.

But I'm saying that if we have 6-7 classes designing header tag of HTML then we can leave a comment header and then all these classes can be kept under that ! It would be good for reference .