Results 1 to 10 of 10
  1. #1
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default How often do you comment?

    Heads up...if this thread turns to off topic shit. I'll just have it removed. So...

    Okay, let's admit it. Some of us enjoy commenting much more than others. I used to hate commenting. That however was when I was working on one and only one project and never switched or took breaks.
    Needless to say, I never had a reason for them...
    However, as my projects have grown in complexity for one and I have multiple going on for multiple reasons (clients and such) I find that keeping track of what this variable does or what that function does is quite hard when you write hundreds upon thousands of lines.

    So I tend to comment much more.
    However, I have fun with it.

    Just a few minutes ago I realized an issue in my chrome extension and here's the comment.


    And some of my comments get even stranger. Another example of a random one is in that same file...


    Here's the one in the top of the new NodeBot module...
    Code:
    /*
        NodeBot Module
          I've rewritten NodeBot based around this custom module. I've decided that it was time that it be changed
          up bit and make it easier on the user.
          So this is my little playground.
        
          Get out.
        
          WARNING: Do not change function names or parameters unless you want to go through all the code and change the stuff related to it.
          If you do change something and don't do anything and you start coming onto the forums whining and complaining about how it's "not working". I will tell you to reinstall it all and stop being an idiot.
          So just don't do it. Save your dignity and my time. Just don't mess.
        
        
          Need help?
          Drop a post on the forums (http://www.community.matthewh.in) and I'm sure someone there will help you.
    */
    Farther down in the NodeBot module is...



    As you can see, I kind of just like have fun with the comments and like talk to the user. I find it humorous.
    Also, I do actually use them in a serious manner. These are just a few of the non-serious ones.

    So how do you all use comments? Do you even use comments? Etc.
    Tell me below.

    0 Not allowed! Not allowed!


  2. #2
    Diehard TeAm_FaTaL's Avatar

    Badge

    Join Date
    Oct 2013
    Location
    In NovaModz mom's bed
    Posts
    1,657
    Points
    2,516
         User Info     Contact     Gamer ID
    Join Date
    Oct 2013
    Location
    In NovaModz mom's bed
    Posts
    1,657
    Points
    2,516
    Gamer IDs

    Wii Code: schitzotm

    Contact info:

    Youtube Channel: http://www.youtube.com/

    Default

    I love reading the comments. But with comments it makes it easier to know what to change to make things like crashes happen.
    So I personally tend to not put any comments at all on any programming. But if what you are writing doesn't have any bearing on security then comments are fun.

    0 Not allowed! Not allowed!
    ifndef FaTaL-is-God [else] define Grace-U
    class Grace-U < Formula
    system bin/"grace-ubat"
    brew install grace-u
    endif //BM\Uffffffff\Uffffffff\Uffffffff\Uffffffff4 s\Uffffffff\Uffffffff\Uffffffff\UffffffffbR\Ufffff fff\Uffffffff\Uffffffff\UffffffffB\Uffffffff\Uffff ffffb"\u7d98\Uffffffff4\Uffffffff\Uffffffff\Ufffff fffq8[Z\Uffffffff\Uffffffff=\Uffffffffm \Uffffffff
    \Uffffffff\Uffffffff\Uffffffffy\Uffffffff\Ufffffff f

  3. #3
    Suicidal Thoughts
    Atmosphere's Avatar
    Join Date
    Oct 2012
    Location
    Oceans Ate Alaska
    Posts
    3,648
    Points
    2,290
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    Oceans Ate Alaska
    Posts
    3,648
    Points
    2,290
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    This is what you were talking about on 7s? This seems pretty cool. I love commenting on posts.

    0 Not allowed! Not allowed!

  4. #4
    I'ma Fuckin Scalie

    Feckless.'s Avatar
    Join Date
    Dec 2008
    Location
    F̷̧̨̙̞̱̥̓̄̂ͯ̃ͬ̚̚͟U&#
    Posts
    3,014
    Points
    8,635
         User Info     Contact     Gamer ID
    Join Date
    Dec 2008
    Location
    F̷̧̨̙̞̱̥̓̄̂ͯ̃ͬ̚̚͟U&#
    Posts
    3,014
    Points
    8,635
    Gamer IDs

    Gamertag: XEFDragon Steam ID: SketchyDragon

    Default

    Quote Originally Posted by Coldfire202 View Post
    Heads up...if this thread turns to off topic shit. I'll just have it removed.
    well shit. i just posted.

    0 Not allowed! Not allowed!

    Quote Originally Posted by OSaMaBiNLoGiN View Post
    HOLY SHIT KILL YOURSELF
    Quote Originally Posted by Fuck Sky View Post
    Are you fucking retarded

  5. #5
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by TeAm_FaTaL View Post
    I love reading the comments. But with comments it makes it easier to know what to change to make things like crashes happen.
    So I personally tend to not put any comments at all on any programming. But if what you are writing doesn't have any bearing on security then comments are fun.
    That's why you pull everything out before production. ;)
    I only ever keep in a few comments for something that's legit and needs to be compiled.

    0 Not allowed! Not allowed!


  6. #6
    I agree. MatthewH's Avatar
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810
         User Info     Contact     Gamer ID
    Join Date
    Jul 2011
    Location
    North Carolina
    Posts
    3,481
    Points
    15,810

    Default

    Quote Originally Posted by Feckless. View Post
    well shit. i just posted.
    It's okay. ;) <3

    0 Not allowed! Not allowed!


  7. #7
    Suicidal Thoughts
    Atmosphere's Avatar
    Join Date
    Oct 2012
    Location
    Oceans Ate Alaska
    Posts
    3,648
    Points
    2,290
         User Info     Contact     Gamer ID
    Join Date
    Oct 2012
    Location
    Oceans Ate Alaska
    Posts
    3,648
    Points
    2,290
    Gamer IDs

    Gamertag: xINSTANT CRUSHx Steam ID: xatmospherex

    Default

    Quote Originally Posted by node View Post
    It's okay. ;) <3
    > Talks about spamming
    > Tells someone spamming is okay
    > Double Posts
    > GG

    OT: Google Extension looks good.

    0 Not allowed! Not allowed!

  8. #8
    ~ Hyrule's Savior ~
    link's Avatar
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802
         User Info     Contact     Gamer ID
    Join Date
    Jun 2011
    Posts
    3,825
    Points
    2,802

    Contact info:

    Youtube Channel: http://www.YouTube.Com/ReTrOSlink

    Default

    Commenting is pretty useful for the developer him/herself. If the developer had to go back to something and is trying to figure out what this code does (in a situation where he forgot), it will come back to his memory so he can continue his code.

    Commenting is very useful to the developer and the viewer.

    0 Not allowed! Not allowed!
    #gamedevelopment


  9. #9
    I'ma Fuckin Scalie

    Feckless.'s Avatar
    Join Date
    Dec 2008
    Location
    F̷̧̨̙̞̱̥̓̄̂ͯ̃ͬ̚̚͟U&#
    Posts
    3,014
    Points
    8,635
         User Info     Contact     Gamer ID
    Join Date
    Dec 2008
    Location
    F̷̧̨̙̞̱̥̓̄̂ͯ̃ͬ̚̚͟U&#
    Posts
    3,014
    Points
    8,635
    Gamer IDs

    Gamertag: XEFDragon Steam ID: SketchyDragon

    Default

    on a srs note i only comment on code if it's for a professor to grade or a group project/collab.

    if i'm making a project, i know what i've done and where to find it.

    0 Not allowed! Not allowed!

    Quote Originally Posted by OSaMaBiNLoGiN View Post
    HOLY SHIT KILL YOURSELF
    Quote Originally Posted by Fuck Sky View Post
    Are you fucking retarded

  10. #10
    Moderator chewtoys's Avatar
    Join Date
    Jun 2013
    Posts
    2,332
    Points
    3,374
         User Info     Contact     Gamer ID
    Join Date
    Jun 2013
    Posts
    2,332
    Points
    3,374

    Default

    I like to comment if I release source, or when I'm testing.

    But final release, I take all comments out to bring down file size just a couple bytes.

    0 Not allowed! Not allowed!

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -10. The time now is 10:58 PM.
Powered by vBulletin®
Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.