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. Code, women do it better

Code, women do it better

Scheduled Pinned Locked Moved The Lounge
com
48 Posts 26 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.
  • K keyboard warrior

    // 10.25.2008 - this next piece of code takes text and makes it into a variable
    // 10.28.2008 - added a variable...oh and i just bought new shoes.

    String article = "sweeping generalizations"

    ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

    S Offline
    S Offline
    StevenWalsh
    wrote on last edited by
    #3

    //10.29.2008 The shoes didn't fit well so i had to return them. But it like totally worked out //because now they had the green ones in stock.. they are sooo amazing //oh and added a check for null

    K L 2 Replies Last reply
    0
    • P Paul Watson

      new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code.

      I am going to pretty much validate what this article says[^] but that is one horrible coding standard, in my humble opinion. The "change history" bit is particularly nasty. We have source control and commit comments for that.

      regards, Paul Watson Ireland & South Africa

      Fernando A. Gomez F. wrote:

      At least he achieved immortality for a few years.

      S Offline
      S Offline
      Single Step Debugger
      wrote on last edited by
      #4

      What is that “comments” stuff? I’m hearing some mates mention this time to time through the last decade, so I’m become curious. Some new technology or just a abbreviation of COM driving ME NuTS? :confused:

      The narrow specialist in the broad sense of the word is a complete idiot in the narrow sense of the word.

      T S 2 Replies Last reply
      0
      • P Paul Watson

        new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code.

        I am going to pretty much validate what this article says[^] but that is one horrible coding standard, in my humble opinion. The "change history" bit is particularly nasty. We have source control and commit comments for that.

        regards, Paul Watson Ireland & South Africa

        Fernando A. Gomez F. wrote:

        At least he achieved immortality for a few years.

        P Offline
        P Offline
        Pete OHanlon
        wrote on last edited by
        #5

        [Quote]In an effort to make Ingres’s computer code more user-friendly and gender-neutral, McGrattan helped institute new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code. The rules apply to both Ingres employees and members of the open-source community who contribute code to Ingres’s products.[/Quote] Yup - I've used Ingres' database - it's one of the nastiest pieces of database technology that it's ever been my misfortune to touch. While other database manufacturers actually went about making their databases more powerful and useful, Ingres is better commented. :rolleyes:

        Deja View - the feeling that you've seen this post before.

        My blog | My articles

        P J 2 Replies Last reply
        0
        • P Paul Watson

          new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code.

          I am going to pretty much validate what this article says[^] but that is one horrible coding standard, in my humble opinion. The "change history" bit is particularly nasty. We have source control and commit comments for that.

          regards, Paul Watson Ireland & South Africa

          Fernando A. Gomez F. wrote:

          At least he achieved immortality for a few years.

          R Offline
          R Offline
          realJSOP
          wrote on last edited by
          #6

          Having it in source control is all fine and dandy, but when you've retrieved code from source control and you're scanning through it in the IDE, it's really nice to have those coding standards in place. That's the way I like to comment my code - especially when you're in a team of programmers.

          "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." - Jason Jystad, 10/26/2001

          P T M 3 Replies Last reply
          0
          • R realJSOP

            Having it in source control is all fine and dandy, but when you've retrieved code from source control and you're scanning through it in the IDE, it's really nice to have those coding standards in place. That's the way I like to comment my code - especially when you're in a team of programmers.

            "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." - Jason Jystad, 10/26/2001

            P Offline
            P Offline
            Paul Watson
            wrote on last edited by
            #7

            You do change history in comments?

            regards, Paul Watson Ireland & South Africa

            Fernando A. Gomez F. wrote:

            At least he achieved immortality for a few years.

            B M R 3 Replies Last reply
            0
            • P Paul Watson

              You do change history in comments?

              regards, Paul Watson Ireland & South Africa

              Fernando A. Gomez F. wrote:

              At least he achieved immortality for a few years.

              B Offline
              B Offline
              Brady Kelly
              wrote on last edited by
              #8

              I do, when working on shared code, but quite informally.  I also like the easy availability in the IDE.

              Anyone wanting my sympathy need not ask.

              J 1 Reply Last reply
              0
              • S StevenWalsh

                //10.29.2008 The shoes didn't fit well so i had to return them. But it like totally worked out //because now they had the green ones in stock.. they are sooo amazing //oh and added a check for null

                K Offline
                K Offline
                keyboard warrior
                wrote on last edited by
                #9

                i was really nice in my joke...because after watching sex and the city the movie im really worried about what kind of content these "comments" would carry...

                ----------------------------------------------------------- "When I first saw it, I just thought that you really, really enjoyed programming in java." - Leslie Sanford

                1 Reply Last reply
                0
                • B Brady Kelly

                  I do, when working on shared code, but quite informally.  I also like the easy availability in the IDE.

                  Anyone wanting my sympathy need not ask.

                  J Offline
                  J Offline
                  Judah Gabriel Himango
                  wrote on last edited by
                  #10

                  Ditto. We do it informally with a <revision> tag in the the XML documention. Not for every little change, only significant changes: things like bug fixes, new functionality, new logic, etc. Renaming a variable or introduciing a new local isn't worthy of a revision notice.

                  Life, family, faith: Give me a visit. From my latest post: "How differently the psalmist saw it! How blessed -- how truly happy with real joy! -- is the man who delights in the Law of the Lord." Judah Himango

                  1 Reply Last reply
                  0
                  • P Paul Watson

                    new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code.

                    I am going to pretty much validate what this article says[^] but that is one horrible coding standard, in my humble opinion. The "change history" bit is particularly nasty. We have source control and commit comments for that.

                    regards, Paul Watson Ireland & South Africa

                    Fernando A. Gomez F. wrote:

                    At least he achieved immortality for a few years.

                    M Offline
                    M Offline
                    martin_hughes
                    wrote on last edited by
                    #11

                    ... I can do better[^] :)

                    ***The collected future Mrs. Martin Hughes***

                    P 1 Reply Last reply
                    0
                    • M martin_hughes

                      ... I can do better[^] :)

                      ***The collected future Mrs. Martin Hughes***

                      P Offline
                      P Offline
                      Paul Watson
                      wrote on last edited by
                      #12

                      Girls are also the solution to poverty, AIDS, hunger, war and such.[^]

                      regards, Paul Watson Ireland & South Africa

                      Fernando A. Gomez F. wrote:

                      At least he achieved immortality for a few years.

                      P M P 3 Replies Last reply
                      0
                      • P Paul Watson

                        Girls are also the solution to poverty, AIDS, hunger, war and such.[^]

                        regards, Paul Watson Ireland & South Africa

                        Fernando A. Gomez F. wrote:

                        At least he achieved immortality for a few years.

                        P Offline
                        P Offline
                        Pete OHanlon
                        wrote on last edited by
                        #13

                        Let's not diss them too much though. They're just so much nicer to errm, cuddle.... (I'll let you replace the word with the physical action of your choice). Let's face it, for all their naive statements about comments and the like, they are a better choice than the alternative.

                        Deja View - the feeling that you've seen this post before.

                        My blog | My articles

                        O L 2 Replies Last reply
                        0
                        • P Paul Watson

                          Girls are also the solution to poverty, AIDS, hunger, war and such.[^]

                          regards, Paul Watson Ireland & South Africa

                          Fernando A. Gomez F. wrote:

                          At least he achieved immortality for a few years.

                          M Offline
                          M Offline
                          martin_hughes
                          wrote on last edited by
                          #14

                          "The world is a complete mess. Agree or disagree." Disagree. "Really? 600 Million girls would disagree with you." Good for them! Closes browser window.

                          ***The collected future Mrs. Martin Hughes***

                          P 1 Reply Last reply
                          0
                          • M martin_hughes

                            "The world is a complete mess. Agree or disagree." Disagree. "Really? 600 Million girls would disagree with you." Good for them! Closes browser window.

                            ***The collected future Mrs. Martin Hughes***

                            P Offline
                            P Offline
                            Paul Watson
                            wrote on last edited by
                            #15

                            I pretty much agree. In Africa especially. Women solve a lot more problems than the men but they get a lot less support.

                            regards, Paul Watson Ireland & South Africa

                            Fernando A. Gomez F. wrote:

                            At least he achieved immortality for a few years.

                            M 1 Reply Last reply
                            0
                            • P Paul Watson

                              I pretty much agree. In Africa especially. Women solve a lot more problems than the men but they get a lot less support.

                              regards, Paul Watson Ireland & South Africa

                              Fernando A. Gomez F. wrote:

                              At least he achieved immortality for a few years.

                              M Offline
                              M Offline
                              martin_hughes
                              wrote on last edited by
                              #16

                              Paul Watson wrote:

                              Women solve a lot more problems than the men but they get a lot less support.

                              Yeah, well they'd be advised not knocking on my door for it either. There's one women who gets my support and that's my duty done as far as I'm concerned :)

                              ***The collected future Mrs. Martin Hughes***

                              T 1 Reply Last reply
                              0
                              • P Paul Watson

                                new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code.

                                I am going to pretty much validate what this article says[^] but that is one horrible coding standard, in my humble opinion. The "change history" bit is particularly nasty. We have source control and commit comments for that.

                                regards, Paul Watson Ireland & South Africa

                                Fernando A. Gomez F. wrote:

                                At least he achieved immortality for a few years.

                                M Offline
                                M Offline
                                MrPlankton
                                wrote on last edited by
                                #17

                                I find that anyone who assigns an ethnicity, or gender classification to subject matter that are totally unrelated, suspect, anything they write I therefore discounted. examples of stupidity; Hey you are black, you can dance... All white women are molleys[^]... All Jews are good at accounting... ... I bet you can't fool ole Rebecca Buckman, when she walks into a room, I bet she immediately knows if you are black, white, man, are a women and she's got you all figured out and what your capabilities are. [modified added link to what a molley is /]

                                MrPlankton

                                modified on Saturday, June 7, 2008 8:48 AM

                                P B W 3 Replies Last reply
                                0
                                • M MrPlankton

                                  I find that anyone who assigns an ethnicity, or gender classification to subject matter that are totally unrelated, suspect, anything they write I therefore discounted. examples of stupidity; Hey you are black, you can dance... All white women are molleys[^]... All Jews are good at accounting... ... I bet you can't fool ole Rebecca Buckman, when she walks into a room, I bet she immediately knows if you are black, white, man, are a women and she's got you all figured out and what your capabilities are. [modified added link to what a molley is /]

                                  MrPlankton

                                  modified on Saturday, June 7, 2008 8:48 AM

                                  P Offline
                                  P Offline
                                  Pete OHanlon
                                  wrote on last edited by
                                  #18

                                  MrPlankton wrote:

                                  examples of stupidity; Hey you are black, you can dance... All white women are Molleys... All Jews are good at accounting... ...

                                  All Geordie's are heavy drinkers. Damn - she nailed that one. How about, "All men think about sex"? Damn. No, she got that one right as well.

                                  Deja View - the feeling that you've seen this post before.

                                  My blog | My articles

                                  1 Reply Last reply
                                  0
                                  • P Paul Watson

                                    new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code.

                                    I am going to pretty much validate what this article says[^] but that is one horrible coding standard, in my humble opinion. The "change history" bit is particularly nasty. We have source control and commit comments for that.

                                    regards, Paul Watson Ireland & South Africa

                                    Fernando A. Gomez F. wrote:

                                    At least he achieved immortality for a few years.

                                    X Offline
                                    X Offline
                                    Xiangyang Liu
                                    wrote on last edited by
                                    #19

                                    McGrattan boasts that 70% to 80% of the time, she can look at a chunk of computer code and tell if it was written by a man or a woman.

                                    Considering that maybe more than 80% of programmers are men, anybody can boast that with 70% to 80% accuracy.

                                    My .NET Business Application Framework My Home Page My Younger Son & His "PET"

                                    modified on Sunday, June 8, 2008 6:05 AM

                                    B 1 Reply Last reply
                                    0
                                    • P Pete OHanlon

                                      [Quote]In an effort to make Ingres’s computer code more user-friendly and gender-neutral, McGrattan helped institute new coding standards at the company. They require programmers to include a detailed set of comments before each block of code explaining what the piece of code does and why; developers also must supply a detailed history of any changes they have made to the code. The rules apply to both Ingres employees and members of the open-source community who contribute code to Ingres’s products.[/Quote] Yup - I've used Ingres' database - it's one of the nastiest pieces of database technology that it's ever been my misfortune to touch. While other database manufacturers actually went about making their databases more powerful and useful, Ingres is better commented. :rolleyes:

                                      Deja View - the feeling that you've seen this post before.

                                      My blog | My articles

                                      P Offline
                                      P Offline
                                      PIEBALDconsult
                                      wrote on last edited by
                                      #20

                                      Pete O'Hanlon wrote:

                                      one of the nastiest pieces of database technology

                                      Indeed. Fortunately last fall we replaced the third-party product that uses it. Unfortunately the new third-party product uses Caché, which may be even worse. Developer of the new product: "But it's Faaasssst!" X|

                                      P 1 Reply Last reply
                                      0
                                      • P PIEBALDconsult

                                        Pete O'Hanlon wrote:

                                        one of the nastiest pieces of database technology

                                        Indeed. Fortunately last fall we replaced the third-party product that uses it. Unfortunately the new third-party product uses Caché, which may be even worse. Developer of the new product: "But it's Faaasssst!" X|

                                        P Offline
                                        P Offline
                                        Pete OHanlon
                                        wrote on last edited by
                                        #21

                                        PIEBALDconsult wrote:

                                        Developer of the new product: "But it's Faaasssst!"

                                        Yup - it crashes faster than ever.

                                        Deja View - the feeling that you've seen this post before.

                                        My blog | My articles

                                        1 Reply Last reply
                                        0
                                        • X Xiangyang Liu

                                          McGrattan boasts that 70% to 80% of the time, she can look at a chunk of computer code and tell if it was written by a man or a woman.

                                          Considering that maybe more than 80% of programmers are men, anybody can boast that with 70% to 80% accuracy.

                                          My .NET Business Application Framework My Home Page My Younger Son & His "PET"

                                          modified on Sunday, June 8, 2008 6:05 AM

                                          B Offline
                                          B Offline
                                          Big Daddy Farang
                                          wrote on last edited by
                                          #22

                                          Excellent point. I also fear that she would like at my code declare that it was written by a woman. Not that there's anything wrong with that.

                                          BDF A learned fool is more a fool than an ignorant fool. -- Moliere

                                          K 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