I am aggressively catching up as a front-end developer. I preface my question with that statement because I feel embarrassed that I’m only now using SASS in 2015. Ugh.
So I just worked on my first project with SASS. It’s fantastic. A huge relief. While I near it’s development, I realize I made a big mess in my SASS code partly due to reasons of learning as I go, experimenting with different techniques, and rushing through some details.
My question: Are there SASS patterns and best practices? I did introduce myself to Compass in this process as well.
For example are there pros and cons to this approach of having elements and classes all within specific sections:
#section_a {
header {
hgroup {
h1 {
//stuff
}
}
}
.box {
//stuff
}
}