Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Because THAT'S what we should be worrying about...

Because THAT'S what we should be worrying about...

Scheduled Pinned Locked Moved The Lounge
oraclecomsysadminquestionannouncement
43 Posts 25 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • G Gary Wheeler

    Any further comment would be, well, superfluous.

    Software Zen: delete this;

    T Offline
    T Offline
    TheyCallMeMrJames
    wrote on last edited by
    #25

    I agree wholeheartedly. I won't comment here either.

    They Call me Mister James

    1 Reply Last reply
    0
    • L leckey 0

      I had to look that one up--never watched King of Queens. On Wikipedia, the end of the article states: Carrie is a fierce and sarcastic character and is frequently deemed as scary by other characters... Yep, that would be me. :laugh:

      Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

      N Offline
      N Offline
      Nish Nishant
      wrote on last edited by
      #26

      leckey wrote:

      never watched King of Queens

      You should. You will like Carrie's character :-)

      Regards, Nish


      Blog: blog.voidnish.com

      1 Reply Last reply
      0
      • L leckey 0

        Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

        Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

        A Offline
        A Offline
        Anthony Mushrow
        wrote on last edited by
        #27

        The only time you have too many comments is when they start getting riciculous. For example:

        //Declare variable
        int a;

        But apart from that the more verbose the better (usually).

        My current favourite word: Harsh!

        -SK Genius

        1 Reply Last reply
        0
        • L leckey 0

          She's passive-aggressive, and I have thought of doing this, to give her a taste of her own negativity.

          Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

          C Offline
          C Offline
          Chris C B
          wrote on last edited by
          #28

          So here's the plan:- Cntrl X all the comments, and replace them with a code using 0 -> 9, A -> Z and a -> z. This will give you close to 240,000 references using just 3 characters for each comment. Next, type the code into a spreadsheet, and paste the text of the comment next to it. When all the comments have been entered into the spreadsheet, sort the sheet alphabetically on the comment text. Print it all out, and delete the spreadsheet, so it doesn't take up any space. Present the DBA with the sole printout, and suggest she photocopies it. ... and then you pray that you never have to maintain the code yourself. But hey, you can't have everything! :laugh:

          A 1 Reply Last reply
          0
          • L leckey 0

            Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

            Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

            T Offline
            T Offline
            The Digital Worm
            wrote on last edited by
            #29

            leckey wrote:

            our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS.

            Someone holding a post like DBA (even if a female) can't be that dumbo, you might need to check if something else by you pissed her up.

            leckey wrote:

            too many comments will just fill up the server.

            If this is true then her tiny brain is already filled up with s***. Some* girls do not require qualification, eligibility or qualities to held their post, you better know why ;)

            WJFK (Write Just for Kicks)

            Y 1 Reply Last reply
            0
            • L leckey 0

              I concur! Now stop ducking.

              Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

              P Offline
              P Offline
              peterchen
              wrote on last edited by
              #30

              *peeks out carefully*

              Agh! Reality! My Archnemesis![^]
              | FoldWithUs! | sighist | WhoIncludes - Analyzing C++ include file hierarchy

              1 Reply Last reply
              0
              • L leckey 0

                Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                N Offline
                N Offline
                Nemanja Trifunovic
                wrote on last edited by
                #31

                leckey wrote:

                Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                I've met some very competent programmers who believe the code should speak for itself and the comments do more harm than good. Personally, I don't buy it...

                utf8-cpp

                1 Reply Last reply
                0
                • C Chris C B

                  So here's the plan:- Cntrl X all the comments, and replace them with a code using 0 -> 9, A -> Z and a -> z. This will give you close to 240,000 references using just 3 characters for each comment. Next, type the code into a spreadsheet, and paste the text of the comment next to it. When all the comments have been entered into the spreadsheet, sort the sheet alphabetically on the comment text. Print it all out, and delete the spreadsheet, so it doesn't take up any space. Present the DBA with the sole printout, and suggest she photocopies it. ... and then you pray that you never have to maintain the code yourself. But hey, you can't have everything! :laugh:

                  A Offline
                  A Offline
                  AspDotNetDev
                  wrote on last edited by
                  #32

                  I once joked with a friend that I would do that for job security. You want to see what these comments say? Then you need my reference sheet. ;P

                  [Forum Guidelines]

                  1 Reply Last reply
                  0
                  • T The Digital Worm

                    leckey wrote:

                    our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS.

                    Someone holding a post like DBA (even if a female) can't be that dumbo, you might need to check if something else by you pissed her up.

                    leckey wrote:

                    too many comments will just fill up the server.

                    If this is true then her tiny brain is already filled up with s***. Some* girls do not require qualification, eligibility or qualities to held their post, you better know why ;)

                    WJFK (Write Just for Kicks)

                    Y Offline
                    Y Offline
                    Yayozama
                    wrote on last edited by
                    #33

                    The Digital Worm wrote:

                    Someone holding a post like DBA (even if a female) can't be that dumbo,

                    :laugh: I guess "Subtle" is your second name...

                    1 Reply Last reply
                    0
                    • L leckey 0

                      Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                      Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                      R Offline
                      R Offline
                      Rick York
                      wrote on last edited by
                      #34

                      I ran into it one time. It was about twenty years ago and I was doing a contract job to port a chunk of code to another platform. I commented all of the tweaks I did to accommodate the new platform and the customer promptly removed them all when I gave them the code. I can't remember the exact reason now but I remember thinking it was ridiculous at the time.

                      C 1 Reply Last reply
                      0
                      • R Rick York

                        I ran into it one time. It was about twenty years ago and I was doing a contract job to port a chunk of code to another platform. I commented all of the tweaks I did to accommodate the new platform and the customer promptly removed them all when I gave them the code. I can't remember the exact reason now but I remember thinking it was ridiculous at the time.

                        C Offline
                        C Offline
                        Chris Meech
                        wrote on last edited by
                        #35

                        The reason was so that somebody could now say they editted your code. :)

                        Chris Meech I am Canadian. [heard in a local bar] In theory there is no difference between theory and practice. In practice there is. [Yogi Berra]

                        1 Reply Last reply
                        0
                        • L leckey 0

                          Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                          Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                          realJSOPR Offline
                          realJSOPR Offline
                          realJSOP
                          wrote on last edited by
                          #36

                          You get that from DBAs all the time. At one of my past jobs, I got the same thing, and coincidentally, it was from an Oracle DBA.

                          .45 ACP - because shooting twice is just silly
                          -----
                          "Why don't you tie a kerosene-soaked rag around your ankles so the ants won't climb up and eat your candy ass..." - Dale Earnhardt, 1997
                          -----
                          "The staggering layers of obscenity in your statement make it a work of art on so many levels." - J. Jystad, 2001

                          1 Reply Last reply
                          0
                          • L leckey 0

                            Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                            Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                            Y Offline
                            Y Offline
                            Yusuf
                            wrote on last edited by
                            #37

                            /******************************************************************************************************** NO COMMENT ********************************************************************************************************/

                            1 Reply Last reply
                            0
                            • L leckey 0

                              Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                              Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                              L Offline
                              L Offline
                              Lost User
                              wrote on last edited by
                              #38

                              leckey wrote:

                              Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                              Yes. I see comments like this all the time:

                              // Add some trees to the forest
                              forest.Add(someTrees);

                              They don't help anyone understand what's going on anymore than the code already does, so I would classify them as "too many comments." I think it boils down to quality vs. quantity. I could riddle my code with comments like those above but they wouldn't help anyone. I could put a few well placed comments that describe how the algorithms in the code work and they would be much more useful. Cheers, Drew.

                              1 Reply Last reply
                              0
                              • D Daniel Tak M

                                Maybe you should remove any whitespaces that are not necessary (like, who needs indention). Could save some bytes...

                                L Offline
                                L Offline
                                LloydA111
                                wrote on last edited by
                                #39

                                Tak wrote:

                                Maybe you should remove any whitespaces that are not necessary (like, who needs indention). Could save some bytes...

                                Your forgeting variable names, maybe he should stick with using A,B,C and so on :)


                                ▬▬▬▬▬▬▬▬▬▬▬▬

                                1 Reply Last reply
                                0
                                • L leckey 0

                                  Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                                  Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                                  G Offline
                                  G Offline
                                  Garth J Lancaster
                                  wrote on last edited by
                                  #40

                                  hey there - nice to see you're still around - I looked at your blog last night and it hadnt been updated in a while : How's Kori and the menagerie ? anyway, I thought of this http://xkcd.com/327/[^] when I read your post .. ie 'I bet they dont sanitize their input either' be well G

                                  1 Reply Last reply
                                  0
                                  • L leckey 0

                                    Your statement on quality is kind of how I feel, but did not say (write) aloud. And comments are not even a standard here! After the discussion the standards were updated with "comments should be kept to a minimum." That's helpful.

                                    Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                                    M Offline
                                    M Offline
                                    Mycroft Holmes
                                    wrote on last edited by
                                    #41

                                    leckey wrote:

                                    After the discussion the standards were updated with "comments

                                    Unbelievable this is so stupid it defies reason. It is the exact opposite of what a good shop should require, and they call them standards. Sorry kiddo but you are working with a complete idiot and the real frightener is that she has the ability to influence "standards".

                                    Never underestimate the power of human stupidity RAH

                                    1 Reply Last reply
                                    0
                                    • L leckey 0

                                      Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                                      Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                                      L Offline
                                      L Offline
                                      Lost User
                                      wrote on last edited by
                                      #42

                                      Had a contractor work for me once, who was removing comments from existing code. He didn't like to see comments because, if they don't get updated when the code does, they can be confusing. While what he says is true, I rather felt that updating the comments may be more useful than deleting them.

                                      ___________________________________________ .\\axxx (That's an 'M')

                                      1 Reply Last reply
                                      0
                                      • L leckey 0

                                        Okay, so been at the new job for about 6 months. Oracle is not my favorite, but it's work. I sent some code to the "code review" group and our very cranky DBA said she did not approve it because it had...drumroll...TOO MANY COMMENTS. WTF? Comments in code up until now has been non-existent and she's worried that too many comments will just fill up the server. This coming from an Oracle DBA who has not recreated any indexes on tables in over 6 years (oh and I've found dozens that need it) and this is what she wants to kvetch about? Has anyone ever run across "too many comments" before? I've only heard "not enough" in the past.

                                        Yeah, I need to update this. Darn Judge Judy reruns! http://CraptasticNation.blogspot.com/[^]

                                        A Offline
                                        A Offline
                                        Andy Brummer
                                        wrote on last edited by
                                        #43

                                        leckey wrote:

                                        Has anyone ever run across "too many comments" before?

                                        I've seen too many comments, but it was one comment line, followed by exactly one code line including incrementing a loop variable. Comments should document why, not common language idioms.

                                        I can imagine the sinking feeling one would have after ordering my book, only to find a laughably ridiculous theory with demented logic once the book arrives - Mark McCutcheon

                                        1 Reply Last reply
                                        0
                                        Reply
                                        • Reply as topic
                                        Log in to reply
                                        • Oldest to Newest
                                        • Newest to Oldest
                                        • Most Votes


                                        • Login

                                        • Don't have an account? Register

                                        • Login or register to search.
                                        • First post
                                          Last post
                                        0
                                        • Categories
                                        • Recent
                                        • Tags
                                        • Popular
                                        • World
                                        • Users
                                        • Groups