by d--b · 4y ago · 0 comments
Obviously `@nest always` and `brackets` are the same in disguise, and are here cause they're conceptually cleaner.
The problem with both of these is that they're unnecessarily verbose.
Why not have a shorter token than `@nest` and something that doesn't want more indenting (like `{}`)? For example `\`? And then if you want to make things a little less verbose, just assume the first character is going to be `&` cause that's going to be 99% of use cases.
And then you get something like this:
foo {
color: blah;
\ h2 { font-weight: bold }
\ h3 { font-weight: bolder }
\ i > & { ... }
}
But no one ever listens to me!