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. Other Discussions
  3. The Weird and The Wonderful
  4. Profanity in code

Profanity in code

Scheduled Pinned Locked Moved The Weird and The Wonderful
csharp
36 Posts 27 Posters 2 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.
  • Brian C HartB Brian C Hart

    So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

    public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
    {
    // ...
    }

    Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

    Sincerely Yours, Brian Hart

    B Offline
    B Offline
    Blake Miller
    wrote on last edited by
    #21

    Well, maybe not profane, but likely hilarious. After the third or fourth time fighting the build system, I submitted this labeling comment: "This is as much fun as eating a poopy flavored lollipop."

    I need a 32 bit unsigned value just to hold the number of coding WTF I see in a day …

    C 1 Reply Last reply
    0
    • B Blake Miller

      Well, maybe not profane, but likely hilarious. After the third or fourth time fighting the build system, I submitted this labeling comment: "This is as much fun as eating a poopy flavored lollipop."

      I need a 32 bit unsigned value just to hold the number of coding WTF I see in a day …

      C Offline
      C Offline
      Clodetta del Mar
      wrote on last edited by
      #22

      :laugh: I have to keep that in mind : poopy flavored lollipop... :java: you made my day ;-) edit: thinking about other possible results of fighting the build system: monitor-bashing keyboard-torment (flying keys in the room) forehead-torment (head wallbashing) ... :wtf:

      1 Reply Last reply
      0
      • Brian C HartB Brian C Hart

        So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

        public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
        {
        // ...
        }

        Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

        Sincerely Yours, Brian Hart

        C Offline
        C Offline
        Chad3F
        wrote on last edited by
        #23

        Damn IDE auto-correcting spell checker! Get one letter wrong and a word and you never know what you'll end up with! ;)

        1 Reply Last reply
        0
        • C Clodetta del Mar

          A few years ago I was so upset because of a problem that my variable declaration was string fick = "dich"; which is german for string f*** = "you"; unfortunately I forgot to change that back before checking in... o_O thank goodness my department chief had a lot of humor; there were no further consequencies... Lessons learned: Curse loud, not in source! :-D

          F Offline
          F Offline
          fct2004
          wrote on last edited by
          #24

          When I first started working with WPF and C# a few years back. I was trying to get some piece of code to work and I ended up writing something along the lines of just f*****g work already. I also ended up checking it into the repo. When my supervisor saw it, he laughed and said that he's done that a few times when he can't get something to work. Of course, by the time he saw the comments, I already had the code working.

          1 Reply Last reply
          0
          • L Lost User

            Gary Wheeler wrote:

            I've never cursed in my executable code

            Not even a wtf variable?

            Computers have been intelligent for a long time now. It just so happens that the program writers are about as effective as a room full of monkeys trying to crank out a copy of Hamlet.

            F Offline
            F Offline
            fct2004
            wrote on last edited by
            #25

            I'm a bit found of naming my double's d.

            1 Reply Last reply
            0
            • K krumia

              Quote:

              A##Gi##ed

              Is that a valid identifier?

              J Offline
              J Offline
              Jonathan C Dickinson
              wrote on last edited by
              #26

              In C#: if you put an @ in front of it, MAYBE.

              He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Chineese Proverb] Jonathan C Dickinson (C# Software Engineer)

              1 Reply Last reply
              0
              • G Gary Wheeler

                I've never cursed in my executable code, but I have in comments a number of times.

                Software Zen: delete this;

                J Offline
                J Offline
                Jonathan C Dickinson
                wrote on last edited by
                #27

                The worst I have ever done is when coming across the following comment.

                // TODO: Fix this code up. Fred is an **(*!^$, )(!*@# this )(*!#. Fix this up so that it isn't )!*@#! anymore.

                I added the following after it:

                // TODO: Buy the above developer a beer.

                Unfortunately they asked me to remove both comments during the code review :(.

                He who asks a question is a fool for five minutes. He who does not ask a question remains a fool forever. [Chineese Proverb] Jonathan C Dickinson (C# Software Engineer)

                1 Reply Last reply
                0
                • Brian C HartB Brian C Hart

                  So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                  public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                  {
                  // ...
                  }

                  Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                  Sincerely Yours, Brian Hart

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

                  May be it's a symbolic representation of how his manager treated him for skipping the deadline. :-)

                  1 Reply Last reply
                  0
                  • Brian C HartB Brian C Hart

                    So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                    public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                    {
                    // ...
                    }

                    Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                    Sincerely Yours, Brian Hart

                    C Offline
                    C Offline
                    CHill60
                    wrote on last edited by
                    #29

                    Not quite profanity but ... Many, many years ago in a far off galaxy ... I had the displeasure of having to work with a code pre-processor that had some irritating "features". As an expedient solution to some of those features, I inserted a blank line at the top of a key header file to prevent all sorts of errors. Certain colleagues insisted on "tidying up" this blank line, meaning that errors kept coming back ... My solution: I inserted a comment below that blank line "If you delete the blank line above I will find you, where ever you are, and break your fingers one by one". It clearly worked. I even got a phone call several years later (having moved on) asking if it was one of my comments ... and did it still stand!

                    1 Reply Last reply
                    0
                    • Brian C HartB Brian C Hart

                      So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                      public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                      {
                      // ...
                      }

                      Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                      Sincerely Yours, Brian Hart

                      D Offline
                      D Offline
                      dav0idz
                      wrote on last edited by
                      #30

                      I have on occaision used a variable called "Count", but as I was typing - missed out the e "o". Oops. :-O Usually managed to correct it before commiting the change.

                      ____-=< |>@\/ø!c| >=-____
                      `````````_`````_`````````
                      ```````o/ \^w^/ \o```````
                      ``````````(o o)``````````
                      ------ooO--(_)--Ooo------
                      I'm not a complete idiot;
                      bits of me are missing.
                      -><-

                      1 Reply Last reply
                      0
                      • Brian C HartB Brian C Hart

                        So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                        public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                        {
                        // ...
                        }

                        Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                        Sincerely Yours, Brian Hart

                        T Offline
                        T Offline
                        Tom Clement
                        wrote on last edited by
                        #31

                        Years ago, maybe in the 1980s, at a previous company, we had a problem that manifest itself when the user got impatient and rebooted their computer during a long "Pack" operation (it was kind of an ISAM file). While waiting for the next release to fix the problem, I put out an emergency patch that displayed a distinctive cursor during the pack, so that users could be informed their computer wasn't hung (no pun intended). The cursor looked something like: PA I CK really a bit more like an hourglass with PACK written around it. As it happened, most packing operations were very quick and took only 1/10th of a second or so. So this insurance company client of ours had all these sweet little old ladies working there who would get these subliminal flashes of what they took to be a really dirty word - mistaking the "A" rendered in a boxy way with very few pixels for an "R". A defect was submitted saying that our product flashed dirty words at our users and that they were very very upset. The patch was pulled immediately.

                        Tom Clement Serena Software, Inc. www.serena.com articles[^]

                        1 Reply Last reply
                        0
                        • K krumia

                          Quote:

                          A##Gi##ed

                          Is that a valid identifier?

                          R Offline
                          R Offline
                          RookieCoder_NG
                          wrote on last edited by
                          #32

                          No. Its not an identifier in C#. # is used as a directive.

                          There is no great genius without some touch of madness - Seneca, Epistles

                          1 Reply Last reply
                          0
                          • Brian C HartB Brian C Hart

                            So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                            public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                            {
                            // ...
                            }

                            Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                            Sincerely Yours, Brian Hart

                            S Offline
                            S Offline
                            Stefan_Lang
                            wrote on last edited by
                            #33

                            I wonder what downtimes refers to in this context ...

                            1 Reply Last reply
                            0
                            • Brian C HartB Brian C Hart

                              So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                              public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                              {
                              // ...
                              }

                              Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                              Sincerely Yours, Brian Hart

                              Sander RosselS Offline
                              Sander RosselS Offline
                              Sander Rossel
                              wrote on last edited by
                              #34

                              I once made the misstake of spelling "Sauce" instead of "Source". I did this in a company library and our entire software was littered with "Sauce", until a bright colleague finally pointed out the spelling mistake. We had a good laugh about it :laugh:

                              It's an OO world.

                              public class Naerling : Lazy<Person>{
                              public void DoWork(){ throw new NotImplementedException(); }
                              }

                              B 1 Reply Last reply
                              0
                              • Sander RosselS Sander Rossel

                                I once made the misstake of spelling "Sauce" instead of "Source". I did this in a company library and our entire software was littered with "Sauce", until a bright colleague finally pointed out the spelling mistake. We had a good laugh about it :laugh:

                                It's an OO world.

                                public class Naerling : Lazy<Person>{
                                public void DoWork(){ throw new NotImplementedException(); }
                                }

                                B Offline
                                B Offline
                                Brisingr Aerowing
                                wrote on last edited by
                                #35

                                I see a lot of silly spelling mistakes in a number of libraries, including several DevExpress libraries (Most of those mistakes have been fixed, however).

                                I think computer viruses should count as life. I think it says something about human nature that the only form of life we have created so far is purely destructive. We've created life in our own image. Stephen Hawking

                                1 Reply Last reply
                                0
                                • Brian C HartB Brian C Hart

                                  So I think the guy before me wanted to spell the word 'Assigned' in his C# method name but ended up saying

                                  public int UpdateReasonNotAssgiggedFlag(IEnumerable downtimes)
                                  {
                                  // ...
                                  }

                                  Excuse the profanity, but I wonder what it feels like to get "ass-gigged." Anyway, I corrected the "misspelling..."

                                  Sincerely Yours, Brian Hart

                                  I Offline
                                  I Offline
                                  ian dennis 0
                                  wrote on last edited by
                                  #36

                                  As recently as yesterday, a colleague sent me an email that was supposed to include the word "assign". However, she transposed the last two letters :)

                                  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