Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

But what are your actual benefits to your semantic layout besides "not feeling bad"? It seems that using the @extends creates just as many issues as it solves.


One of the best benefits is confining the style to the stylesheet so it can be swapped out allowing per customer skinning of the app.


What kind of problems would it create? I'm not familiar with SASS, but the approach described in the article looks interesting to me.

I like to keep the markup as semantic as possible, and keep the structure/presentation distinct. I find it easier to reason about.


It bloats your compiled stylesheet.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: