Who said CSS/Sass is not worth commenting? I'm fed up with those devs not commenting a single thing in their code. CSS/Sass might seem simple but there's many cases where a single line of comments would save you 10mins, or more... FFS!

  • 1
    Im sorry, Im one of those devs that never comments their css.
  • 1
    @Consolelog I'm not asking for the moon, but sometimes it just makes sense. I just feel that some people think it's not worth commenting because it's css. That assumption is wrong in my opinion!
  • 1
    What if i name the classes in a way that makes the whole thing understandable 🤔
  • 1
    @atroxi yeah good point. Most of the time Im the only one working on the css, so for me its understandable. But it probably isn’t for someone else lol.
  • 0
    Why not commenting CSS? In production, you will use the minified version anyway so that even lots of comments will not matter.
  • 0
    Read it somewhere here:

    If you're not writing comments, you better not be writing code.
Your Job Suck?
Get a Better Job
Add Comment