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.
  • 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/[^]

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

    Don't tell her about the comments column associated with every table that Oracle has. She'd be losing sleep over that. :)

    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]

    A 1 Reply Last reply
    0
    • E Ennis Ray Lynch Jr

      Lead: "Ennis, I like your code but there are too many comments. We don't like our code base full of comments." Ennis: "If you don't like my comments you can remove them" Lead: "We expect you to follow out standards" Ennis: "Fire me" They never did. The bottom line is the incompetent don't like quality because it removes their importance but what they don't like more than quality is waves. Stand-up for yourself, and donate $0.25 to pay for 1 gig of comments to cover the entire teams comments for a century.

      Need custom software developed? I do custom programming based primarily on MS tools with an emphasis on C# development and consulting. I also do Android Programming as I find it a refreshing break from the MS. "And they, since they Were not the one dead, turned to their affairs" -- Robert Frost

      L Offline
      L Offline
      leckey 0
      wrote on last edited by
      #14

      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 1 Reply Last reply
      0
      • D Dave Parker

        Haha I've actually encountered other developers under the delusion that comments slow the program down and wanting to delete them all prior to the compiled and build system going out!

        L Offline
        L Offline
        leckey 0
        wrote on last edited by
        #15

        Exactly! The compiler just ignores them. And are we really going to "fill up a server" with a few KBs of comments? Hope we don't buy any more assets--might not be enough room on the server to store those records!

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

        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/[^]

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

          Unless every few lines of code has ASCII art murals or you are commenting with things like "this is an if statement -- it provides the ability to conditionally execute a branch of code. A branch of code is...", I very much doubt you have too many comments. At my last job, everybody seemed to be opposed to any formatting or code comments.

          [Forum Guidelines]

          1 Reply Last reply
          0
          • D Dave Parker

            Haha I've actually encountered other developers under the delusion that comments slow the program down and wanting to delete them all prior to the compiled and build system going out!

            W Offline
            W Offline
            wolfbinary
            wrote on last edited by
            #17

            If the idiots who thought that knew anything about compilers, never mind. :doh:

            That's called seagull management (or sometimes pigeon management)... Fly in, flap your arms and squawk a lot, crap all over everything and fly out again... by _Damian S_

            1 Reply Last reply
            0
            • H Henry Minute

              I'll refrain from commenting. Don't want to fill up The Lounge. :)

              Henry Minute Do not read medical books! You could die of a misprint. - Mark Twain Girl: (staring) "Why do you need an icy cucumber?" “I want to report a fraud. The government is lying to us all.”

              G Offline
              G Offline
              Gary Wheeler
              wrote on last edited by
              #18

              Any further comment would be, well, superfluous.

              Software Zen: delete this;

              T 1 Reply Last reply
              0
              • N Nish Nishant

                For some reason, I imagine you to be someone like the fictional Carrie Heffernan :-D

                Regards, Nish


                Blog: blog.voidnish.com

                L Offline
                L Offline
                leckey 0
                wrote on last edited by
                #19

                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 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/[^]

                  W Offline
                  W Offline
                  wolfbinary
                  wrote on last edited by
                  #20

                  Just delete all the CRLF and make it one long line. you wouldn't want to waste space on returns and such. :rolleyes:

                  That's called seagull management (or sometimes pigeon management)... Fly in, flap your arms and squawk a lot, crap all over everything and fly out again... by _Damian S_

                  L 1 Reply Last reply
                  0
                  • C Chris Meech

                    Don't tell her about the comments column associated with every table that Oracle has. She'd be losing sleep over that. :)

                    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]

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

                    Yeah, she might decide to nip it in the bud and put a trigger on that column that erases any comments that are inserted.

                    [Forum Guidelines]

                    1 Reply Last reply
                    0
                    • L leckey 0

                      Exactly! The compiler just ignores them. And are we really going to "fill up a server" with a few KBs of comments? Hope we don't buy any more assets--might not be enough room on the server to store those records!

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

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

                      If there is enough code to fill up the server, it would probably be good to have enough code comments to explain that giant mess.

                      [Forum Guidelines]

                      1 Reply Last reply
                      0
                      • P peterchen

                        Girls at work! *ducks*

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

                        L Offline
                        L Offline
                        leckey 0
                        wrote on last edited by
                        #23

                        I concur! Now stop ducking.

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

                        P 1 Reply Last reply
                        0
                        • G Gary Wheeler

                          Any further comment would be, well, superfluous.

                          Software Zen: delete this;

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

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

                          They Call me Mister James

                          1 Reply Last reply
                          0
                          • W wolfbinary

                            Just delete all the CRLF and make it one long line. you wouldn't want to waste space on returns and such. :rolleyes:

                            That's called seagull management (or sometimes pigeon management)... Fly in, flap your arms and squawk a lot, crap all over everything and fly out again... by _Damian S_

                            L Offline
                            L Offline
                            leckey 0
                            wrote on last edited by
                            #25

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