Hacker News new | past | comments | ask | show | jobs | submit login

That's not a very fair example. That would be like commenting Python like this:

    def foo():       # This defines a function
        a = 5        # This defines a variable, a = 5
        return a + 5 # The function returns the value of a + 5
Not to argue in favor of or against max.css, but nobody comments their code like that. It's more about things like this:

    .ribbon-edge {
        /**
         * By setting the width and height to 0
         * and having a really large border, we
         * can use the way the borders intersect
         * to create a ribbon edge for our header/
         * This results in three angled red borders,
         * and one transparent, right-facing triangle
         * on the left side.
         */
        width: 0;
        height: 0;
        border: 50px solid transparent;
        border-left-color: red;
    }



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

Search: