5 Responses

  1. sunriseweb
    sunriseweb April 12, 2013 at 15:50 | | Reply

    Great article. I will definitely be following these standards to improve my commenting/documentation!

  2. Mathew Porter
    Mathew Porter April 19, 2013 at 00:15 | | Reply

    nice post for wp specific comments, as with any dev work, enough, relevant comments to allow other contrubutors to make sense of your code is key.

  3. Piet
    Piet April 19, 2013 at 02:43 | | Reply

    Great article Jean with examples of the best guys out there.

    One thing that goes a little bit inline with commenting is to add comments at closing divs, so you can see where it refers to.

    So for example: on line 15 you have “while ( have_posts() ) {“, then on line 75 you have “} // endwhile”

Leave a Reply