DEV Community

loading...

Discussion on: STOP writing CSS, 10 reasons why

Collapse
mmcshinsky profile image
Michael McShinsky • Edited

I prefer to have the brackets (curly braces). That to me is cleaner and easier to understand the scope and intent of a given block of css/scss/sass.

Collapse
aspiiire profile image
Aspiiire 🔥 Author

I have used scss for a while but right now i find myself loving sass, i think the thing that i hated the most was without doubt semicolons 😂️

Collapse
piotrlewandowski profile image
Piotr Lewandowski • Edited

The thing with Sass syntax is that it's not a valid CSS, while SCSS syntax is a superset of CSS. You can copy and paste any CSS and it'll work immediately in SCSS, without any need of reformatting, removing curly braces, etc... And let's face it, SCSS syntax is more popular than SASS (just look at the most popular libraries using sass)

Thread Thread
aspiiire profile image
Aspiiire 🔥 Author

Imho it's not about popularity, but about how the help me with my work, I've really enjoyed writing PUG code and then copy and pasting it in SASS and that helped me a lot!

Collapse
sno2 profile image
Carter Snook

Me too and the {} are called curly braces

Collapse
mmcshinsky profile image