7 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”

  4. webtoolmaster
    webtoolmaster February 3, 2016 at 20:38 | | Reply

    Appreciate the recommendation. Let me try it out.

  5. Shemales
    Shemales July 12, 2018 at 23:12 | | Reply

    I don’t even know how I ended up here, but I thought this post was great.
    I don’t know who you are but certainly you’re going to a famous blogger if you are not already 😉

Leave a Reply