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. Comment of the day

Comment of the day

Scheduled Pinned Locked Moved The Lounge
csharp
14 Posts 10 Posters 1 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.
  • P peterchen

    Why don't you just send the Deadly Viper Assasination Squad? Phones are so complicated to use these days... Corinna John wrote: you have to comment what your code does Such people should be told to comment "what it's supposed to do". Then, debugging is merely a) finding discrepancies between code and comment and b) finding discrepancies between spec and comment so simple... :cool:


    Flirt harder, I'm a Coder
    mlog || Agile Programming | doxygen

    C Offline
    C Offline
    Corinna John
    wrote on last edited by
    #4

    peterchen wrote: Deadly Viper Assasination Squad Where can I order an assassination, and what does it cost per programmer? Well, by now I have realised what all the loops are there for. I'll send him a link to the documentation of Array.Copy. Positive thought of the day: When I'm finished cleaning up the class, it will be much easier to understand, might even run faster, and my collegue (who had been thrown into the windows-world after more than ten years of zOS programming) has a chance to learn a bit about style. Never give up :-D, coco

    P S R 3 Replies Last reply
    0
    • C Corinna John

      peterchen wrote: Deadly Viper Assasination Squad Where can I order an assassination, and what does it cost per programmer? Well, by now I have realised what all the loops are there for. I'll send him a link to the documentation of Array.Copy. Positive thought of the day: When I'm finished cleaning up the class, it will be much easier to understand, might even run faster, and my collegue (who had been thrown into the windows-world after more than ten years of zOS programming) has a chance to learn a bit about style. Never give up :-D, coco

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

      DVAS contact here...[^] Corinna John wrote: Well, by now I have realised what all the loops are there for. I'll send him a link to the documentation of Array.Copy. :laugh: :omg: Corinna John wrote: When I'm finished cleaning up the class The most productive coder is the one who can *remove* a line of code without breaking the architecture or the user noticing.


      Flirt harder, I'm a Coder
      mlog || Agile Programming | doxygen

      1 Reply Last reply
      0
      • C Corinna John

        peterchen wrote: Deadly Viper Assasination Squad Where can I order an assassination, and what does it cost per programmer? Well, by now I have realised what all the loops are there for. I'll send him a link to the documentation of Array.Copy. Positive thought of the day: When I'm finished cleaning up the class, it will be much easier to understand, might even run faster, and my collegue (who had been thrown into the windows-world after more than ten years of zOS programming) has a chance to learn a bit about style. Never give up :-D, coco

        S Offline
        S Offline
        suzyb
        wrote on last edited by
        #6

        Reminds me of the comments of one of my former co-workers... objConn.Open 'opens objConn He also had a habit of copying and pasting secions of code instead of using a loop or recursive function. We used to take the mick from him constantly. :-O If I had a better memory I would remember more.

        C G 2 Replies Last reply
        0
        • S suzyb

          Reminds me of the comments of one of my former co-workers... objConn.Open 'opens objConn He also had a habit of copying and pasting secions of code instead of using a loop or recursive function. We used to take the mick from him constantly. :-O If I had a better memory I would remember more.

          C Offline
          C Offline
          Corinna John
          wrote on last edited by
          #7

          :laugh: no comment

          1 Reply Last reply
          0
          • C Corinna John

            I have to look up something in a co-worker's C# file. The lines are commented, but... some comments don't tell me anything :omg: int anz,i; // used in various places... ... summe.FuvBeginnDatum = fuv.FuvBeginnDatum; // Must be the same! summe.VsuGuelBeg = fuv.FuvBeginnDatum; // Must be the same! ... summe.GtEintraege[0].GtGuelBeg = fuv.FuvBeginnDatum; // Must be like that! Now I'm going phone the author and let him explain why what must be like what... and hope he still knows :laugh: Lesson of the day: Never tell a programmer "you hav to comment your code". Tell him "you have to comment what your code does". :-D

            M Offline
            M Offline
            Megan Forbes
            wrote on last edited by
            #8

            Corinna John wrote: // Must be like that! :laugh: :laugh: :~


            Look at the world about you and trust to your own convictions. - Ansel Adams
            Meg's World - Blog Photography

            1 Reply Last reply
            0
            • C Corinna John

              I have to look up something in a co-worker's C# file. The lines are commented, but... some comments don't tell me anything :omg: int anz,i; // used in various places... ... summe.FuvBeginnDatum = fuv.FuvBeginnDatum; // Must be the same! summe.VsuGuelBeg = fuv.FuvBeginnDatum; // Must be the same! ... summe.GtEintraege[0].GtGuelBeg = fuv.FuvBeginnDatum; // Must be like that! Now I'm going phone the author and let him explain why what must be like what... and hope he still knows :laugh: Lesson of the day: Never tell a programmer "you hav to comment your code". Tell him "you have to comment what your code does". :-D

              M Offline
              M Offline
              Marcie Jones
              wrote on last edited by
              #9

              Eric Lippert posted about another story like this the other day, referring to "comment rot" :) http://blogs.msdn.com/ericlippert/archive/2004/05/04/125893.aspx Marcie CP Blog[^]

              R 1 Reply Last reply
              0
              • C Corinna John

                peterchen wrote: Deadly Viper Assasination Squad Where can I order an assassination, and what does it cost per programmer? Well, by now I have realised what all the loops are there for. I'll send him a link to the documentation of Array.Copy. Positive thought of the day: When I'm finished cleaning up the class, it will be much easier to understand, might even run faster, and my collegue (who had been thrown into the windows-world after more than ten years of zOS programming) has a chance to learn a bit about style. Never give up :-D, coco

                R Offline
                R Offline
                Roger Wright
                wrote on last edited by
                #10

                Corinna John wrote: my collegue (who had been thrown into the windows-world after more than ten years of zOS programming) has a chance to learn a bit about style. Your patience is commendable!:-D Some people think of it as a six-pack; I consider it more of a support group.

                1 Reply Last reply
                0
                • M Marcie Jones

                  Eric Lippert posted about another story like this the other day, referring to "comment rot" :) http://blogs.msdn.com/ericlippert/archive/2004/05/04/125893.aspx Marcie CP Blog[^]

                  R Offline
                  R Offline
                  Roger Wright
                  wrote on last edited by
                  #11

                  Eric makes some excellent points! Some people think of it as a six-pack; I consider it more of a support group.

                  1 Reply Last reply
                  0
                  • C Corinna John

                    I have to look up something in a co-worker's C# file. The lines are commented, but... some comments don't tell me anything :omg: int anz,i; // used in various places... ... summe.FuvBeginnDatum = fuv.FuvBeginnDatum; // Must be the same! summe.VsuGuelBeg = fuv.FuvBeginnDatum; // Must be the same! ... summe.GtEintraege[0].GtGuelBeg = fuv.FuvBeginnDatum; // Must be like that! Now I'm going phone the author and let him explain why what must be like what... and hope he still knows :laugh: Lesson of the day: Never tell a programmer "you hav to comment your code". Tell him "you have to comment what your code does". :-D

                    W Offline
                    W Offline
                    wrykyn
                    wrote on last edited by
                    #12

                    I had to wade through a lot of legacy code myself recently. The thing that ticks me off the most is the ! points. We don't know what on earth they are talking about but it seems its very exciting and important !! "To his dog, every man is Napoleon"

                    1 Reply Last reply
                    0
                    • S suzyb

                      Reminds me of the comments of one of my former co-workers... objConn.Open 'opens objConn He also had a habit of copying and pasting secions of code instead of using a loop or recursive function. We used to take the mick from him constantly. :-O If I had a better memory I would remember more.

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

                      Suzanne Boyle wrote: take the mick OK, I give up. I'm the ignorant American. What does the expression 'take the mick' mean?


                      Software Zen: delete this;

                      A 1 Reply Last reply
                      0
                      • G Gary Wheeler

                        Suzanne Boyle wrote: take the mick OK, I give up. I'm the ignorant American. What does the expression 'take the mick' mean?


                        Software Zen: delete this;

                        A Offline
                        A Offline
                        Antony M Kancidrowski
                        wrote on last edited by
                        #14

                        It is slang and means to ridicule someone. Ant.

                        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