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. I, Moron

I, Moron

Scheduled Pinned Locked Moved The Weird and The Wonderful
ruby
18 Posts 8 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.
  • C Offline
    C Offline
    Clodetta del Mar
    wrote on last edited by
    #1

    Hi :-) Found this Little gem in our codebase:

    public static class volldepp
    {
    public static string getRant()
    {
    return "Moron";
    }
    }

    volldepp is german and i - with my Little knowledge - would translate it to bleeding fool/moron... it´s a "self-produced gem"...i must have been really pissed of by my own stupidity while coding... :~ :sigh: :rolleyes: edit: the Point is, btw, i can´t even remember writing that class... :confused:

    N J I 3 Replies Last reply
    0
    • C Clodetta del Mar

      Hi :-) Found this Little gem in our codebase:

      public static class volldepp
      {
      public static string getRant()
      {
      return "Moron";
      }
      }

      volldepp is german and i - with my Little knowledge - would translate it to bleeding fool/moron... it´s a "self-produced gem"...i must have been really pissed of by my own stupidity while coding... :~ :sigh: :rolleyes: edit: the Point is, btw, i can´t even remember writing that class... :confused:

      N Offline
      N Offline
      Nagy Vilmos
      wrote on last edited by
      #2

      And the class name isn't even capitalised...

      speramus in juniperus

      C 1 Reply Last reply
      0
      • N Nagy Vilmos

        And the class name isn't even capitalised...

        speramus in juniperus

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

        i was in rage, i had no time for "Peanuts"... :rolleyes:

        R R 2 Replies Last reply
        0
        • C Clodetta del Mar

          i was in rage, i had no time for "Peanuts"... :rolleyes:

          R Offline
          R Offline
          Ron Anders
          wrote on last edited by
          #4

          And so am I And the more of me the better! /Ron

          C 1 Reply Last reply
          0
          • R Ron Anders

            And so am I And the more of me the better! /Ron

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

            Advice: Be as much in rage as you like but never forget to delete your curses in code [edit] before checking in[/edit].. this could lead to some embarassing situations... :-O

            B 1 Reply Last reply
            0
            • C Clodetta del Mar

              Advice: Be as much in rage as you like but never forget to delete your curses in code [edit] before checking in[/edit].. this could lead to some embarassing situations... :-O

              B Offline
              B Offline
              BillW33
              wrote on last edited by
              #6

              Hopefully, the output was not displayed to an end user, that is when it can get really embarassing. ;) :laugh:

              Just because the code works, it doesn't mean that it is good code.

              C 1 Reply Last reply
              0
              • B BillW33

                Hopefully, the output was not displayed to an end user, that is when it can get really embarassing. ;) :laugh:

                Just because the code works, it doesn't mean that it is good code.

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

                :wtf: what an awful Imagination... no, it was "only" in code behind... but it´s really some sort of :-O :-O :-O :-O when a Team mate gives you advice to delete some codefragments because of possible discomfort...

                B 1 Reply Last reply
                0
                • C Clodetta del Mar

                  :wtf: what an awful Imagination... no, it was "only" in code behind... but it´s really some sort of :-O :-O :-O :-O when a Team mate gives you advice to delete some codefragments because of possible discomfort...

                  B Offline
                  B Offline
                  BillW33
                  wrote on last edited by
                  #8

                  Oh it's not imagination, I have known coders who thought they had removed some code with embarrassing output, but it made it into production code. Fortunately it was in a rarely accessed part of the code and we found it and got it fixed before end users actually saw it. I now keep telling fellow programmers to not put in in the code unless they want the end users to see it. Inevitably, some of that stuff will make it into production code. :sigh:

                  Just because the code works, it doesn't mean that it is good code.

                  C 1 Reply Last reply
                  0
                  • B BillW33

                    Oh it's not imagination, I have known coders who thought they had removed some code with embarrassing output, but it made it into production code. Fortunately it was in a rarely accessed part of the code and we found it and got it fixed before end users actually saw it. I now keep telling fellow programmers to not put in in the code unless they want the end users to see it. Inevitably, some of that stuff will make it into production code. :sigh:

                    Just because the code works, it doesn't mean that it is good code.

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

                    CIDev wrote:

                    ...code with embarrassing Output...

                    cursing in code - [edit]but never with Output to the Client Interface[/edit] - is a way for me not to curse out loud.. i do this at home Office when i´m absolutely alone with myself and no one can hear me. my cursings are definitely not for kid-sister´s ears nor for any others... (i tend to loose my political correctness e.g.) so the only way for me to avoid instant embarrasing situations is when i curse silently in code... bad Habit, i know... :sigh:

                    R B 2 Replies Last reply
                    0
                    • C Clodetta del Mar

                      CIDev wrote:

                      ...code with embarrassing Output...

                      cursing in code - [edit]but never with Output to the Client Interface[/edit] - is a way for me not to curse out loud.. i do this at home Office when i´m absolutely alone with myself and no one can hear me. my cursings are definitely not for kid-sister´s ears nor for any others... (i tend to loose my political correctness e.g.) so the only way for me to avoid instant embarrasing situations is when i curse silently in code... bad Habit, i know... :sigh:

                      R Offline
                      R Offline
                      Richard Deeming
                      wrote on last edited by
                      #10

                      Clodetta del Mar wrote:

                      i curse silently in code...

                      I always thought that shouting and swearing at some stubborn code which insists on doing what I told it to, not what I want it to, was the only way to make it work! :rolleyes:


                      "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

                      C 1 Reply Last reply
                      0
                      • R Richard Deeming

                        Clodetta del Mar wrote:

                        i curse silently in code...

                        I always thought that shouting and swearing at some stubborn code which insists on doing what I told it to, not what I want it to, was the only way to make it work! :rolleyes:


                        "These people looked deep within my soul and assigned me a number based on the order in which I joined." - Homer

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

                        i once thought that too, but after a short period of time i thought following the above described path would do the trick... It doesn´t... :| :rolleyes:

                        1 Reply Last reply
                        0
                        • C Clodetta del Mar

                          CIDev wrote:

                          ...code with embarrassing Output...

                          cursing in code - [edit]but never with Output to the Client Interface[/edit] - is a way for me not to curse out loud.. i do this at home Office when i´m absolutely alone with myself and no one can hear me. my cursings are definitely not for kid-sister´s ears nor for any others... (i tend to loose my political correctness e.g.) so the only way for me to avoid instant embarrasing situations is when i curse silently in code... bad Habit, i know... :sigh:

                          B Offline
                          B Offline
                          BillW33
                          wrote on last edited by
                          #12

                          As long as the cursing is limited to the comments it is safe. Unless you show the source code to a client. ;)

                          Just because the code works, it doesn't mean that it is good code.

                          C 1 Reply Last reply
                          0
                          • B BillW33

                            As long as the cursing is limited to the comments it is safe. Unless you show the source code to a client. ;)

                            Just because the code works, it doesn't mean that it is good code.

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

                            Yes, my opinion, too. i am convinced, that "distracting" output to the Client can be a reason for instant dismissal... not good... :^) edit: oh,no. as far as i´m concerned, no Client was/is/will be looking into the codebase...:cool:

                            1 Reply Last reply
                            0
                            • C Clodetta del Mar

                              i was in rage, i had no time for "Peanuts"... :rolleyes:

                              R Offline
                              R Offline
                              Rage
                              wrote on last edited by
                              #14

                              Clodetta del Mar wrote:

                              i was in rage

                              I am afraid I must deny this. To be exact, I did not notice anything, but it could be me.

                              ~RaGE();

                              I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

                              C 1 Reply Last reply
                              0
                              • R Rage

                                Clodetta del Mar wrote:

                                i was in rage

                                I am afraid I must deny this. To be exact, I did not notice anything, but it could be me.

                                ~RaGE();

                                I think words like 'destiny' are a way of trying to find order where none exists. - Christian Graus Do not feed the troll ! - Common proverb

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

                                :laugh: :-D

                                1 Reply Last reply
                                0
                                • C Clodetta del Mar

                                  Hi :-) Found this Little gem in our codebase:

                                  public static class volldepp
                                  {
                                  public static string getRant()
                                  {
                                  return "Moron";
                                  }
                                  }

                                  volldepp is german and i - with my Little knowledge - would translate it to bleeding fool/moron... it´s a "self-produced gem"...i must have been really pissed of by my own stupidity while coding... :~ :sigh: :rolleyes: edit: the Point is, btw, i can´t even remember writing that class... :confused:

                                  J Offline
                                  J Offline
                                  Jarek Kruza
                                  wrote on last edited by
                                  #16

                                  Clodetta del Mar wrote:

                                  i can´t even remember writing that class...

                                  Maybe you didn't. :) Maybe you left the office without locking the workstation and somebody did it for you. That recently became a tradition in my office. :)

                                  C 1 Reply Last reply
                                  0
                                  • J Jarek Kruza

                                    Clodetta del Mar wrote:

                                    i can´t even remember writing that class...

                                    Maybe you didn't. :) Maybe you left the office without locking the workstation and somebody did it for you. That recently became a tradition in my office. :)

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

                                    Jarek Kruza wrote:

                                    That recently became a tradition in my office.

                                    :omg: :wtf: I guess one does not need to have enemies if there are mates, that do such "funny" things... ;) No, here´s no doubt, I am the creator of this sophisticated class... :-\ ;)

                                    1 Reply Last reply
                                    0
                                    • C Clodetta del Mar

                                      Hi :-) Found this Little gem in our codebase:

                                      public static class volldepp
                                      {
                                      public static string getRant()
                                      {
                                      return "Moron";
                                      }
                                      }

                                      volldepp is german and i - with my Little knowledge - would translate it to bleeding fool/moron... it´s a "self-produced gem"...i must have been really pissed of by my own stupidity while coding... :~ :sigh: :rolleyes: edit: the Point is, btw, i can´t even remember writing that class... :confused:

                                      I Offline
                                      I Offline
                                      imagiro
                                      wrote on last edited by
                                      #18

                                      Well, for me the case is clear: This class translates insults from german to english.. Well, only one, but hey! You can always add some derived classes! :)

                                      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