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. Words cannot describe my pain

Words cannot describe my pain

Scheduled Pinned Locked Moved The Weird and The Wonderful
phpvisual-studiolinqcombeta-testing
13 Posts 9 Posters 4 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 leppie

    http://xacc.files.wordpress.com/2008/10/helpme.png[^] :sigh: I think I need to give the office a crash course in R E F A C T O R I N G. :doh: Note: The #2 version is simply a copy/paste of the first with a bit of extra functionality. Honestly, I would not let anyone even see the code inside.

    xacc.ide - now with TabsToSpaces support
    IronScheme - 1.0 beta 1 - out now!
    ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

    C Offline
    C Offline
    CPallini
    wrote on last edited by
    #2

    Nice. Anyway I strongly doubt the developer who created such brilliant method names will agree about the need of refactoring. ;P Well, I forgot you're the boss! :-D

    If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
    This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
    [My articles]

    L M 2 Replies Last reply
    0
    • C CPallini

      Nice. Anyway I strongly doubt the developer who created such brilliant method names will agree about the need of refactoring. ;P Well, I forgot you're the boss! :-D

      If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
      This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
      [My articles]

      L Offline
      L Offline
      leppie
      wrote on last edited by
      #3

      CPallini wrote:

      Well, I forgot you're the boss!

      The author of the code is my boss (the IT Director) ... :~

      xacc.ide - now with TabsToSpaces support
      IronScheme - 1.0 beta 1 - out now!
      ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

      C S 2 Replies Last reply
      0
      • L leppie

        CPallini wrote:

        Well, I forgot you're the boss!

        The author of the code is my boss (the IT Director) ... :~

        xacc.ide - now with TabsToSpaces support
        IronScheme - 1.0 beta 1 - out now!
        ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

        C Offline
        C Offline
        CPallini
        wrote on last edited by
        #4

        leppie wrote:

        The author of the code is my boss (the IT Director) ...

        Oh, don't worry, I think his/her skills are well above the average ones of the IT directors I ever had. :-D

        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
        [My articles]

        1 Reply Last reply
        0
        • L leppie

          http://xacc.files.wordpress.com/2008/10/helpme.png[^] :sigh: I think I need to give the office a crash course in R E F A C T O R I N G. :doh: Note: The #2 version is simply a copy/paste of the first with a bit of extra functionality. Honestly, I would not let anyone even see the code inside.

          xacc.ide - now with TabsToSpaces support
          IronScheme - 1.0 beta 1 - out now!
          ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

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

          Verb/Noun pair -- check! So what's the problem? :-D

          B 1 Reply Last reply
          0
          • L leppie

            CPallini wrote:

            Well, I forgot you're the boss!

            The author of the code is my boss (the IT Director) ... :~

            xacc.ide - now with TabsToSpaces support
            IronScheme - 1.0 beta 1 - out now!
            ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

            S Offline
            S Offline
            Scott Barbour
            wrote on last edited by
            #6

            As a former boss of mine once told me: "People will be promoted to their levels of incompetence" And as I've seen firsthand, if management likes someone who is a dumb as a stump, they will be moved into a position where they can do the least damage.

            I don't claim to be a know it all, for I know that I am not...

            I usually have an answer though.

            L 1 Reply Last reply
            0
            • P PIEBALDconsult

              Verb/Noun pair -- check! So what's the problem? :-D

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

              PIEBALDconsult wrote:

              Verb/Noun pair -- check! So what's the problem?

              And the copy paste is just good re-use of code, right? :laugh: Bill W

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

              P 1 Reply Last reply
              0
              • B BillW33

                PIEBALDconsult wrote:

                Verb/Noun pair -- check! So what's the problem?

                And the copy paste is just good re-use of code, right? :laugh: Bill W

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

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

                And orthogonal too. :-D

                1 Reply Last reply
                0
                • S Scott Barbour

                  As a former boss of mine once told me: "People will be promoted to their levels of incompetence" And as I've seen firsthand, if management likes someone who is a dumb as a stump, they will be moved into a position where they can do the least damage.

                  I don't claim to be a know it all, for I know that I am not...

                  I usually have an answer though.

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

                  ..and there you have the recruitmentprocedure for management-positions in the banking-world :-D

                  1 Reply Last reply
                  0
                  • L leppie

                    http://xacc.files.wordpress.com/2008/10/helpme.png[^] :sigh: I think I need to give the office a crash course in R E F A C T O R I N G. :doh: Note: The #2 version is simply a copy/paste of the first with a bit of extra functionality. Honestly, I would not let anyone even see the code inside.

                    xacc.ide - now with TabsToSpaces support
                    IronScheme - 1.0 beta 1 - out now!
                    ((lambda (x) `((lambda (x) ,x) ',x)) '`((lambda (x) ,x) ',x))

                    T Offline
                    T Offline
                    Thomas Weller 0
                    wrote on last edited by
                    #10

                    Am I seeing right? Does one of these 'functions' really have around 1500 lines ??? I normally consider more than 20/25 LOC bad (except it is a trivial switch statement or something of that kind)... And even worse, the 'programmer' who created this nightmare is your boss?? Poor you, get out of there as quick as possible (or at least prevent your boss from coding somehow)! Regards Thomas

                    A 1 Reply Last reply
                    0
                    • T Thomas Weller 0

                      Am I seeing right? Does one of these 'functions' really have around 1500 lines ??? I normally consider more than 20/25 LOC bad (except it is a trivial switch statement or something of that kind)... And even worse, the 'programmer' who created this nightmare is your boss?? Poor you, get out of there as quick as possible (or at least prevent your boss from coding somehow)! Regards Thomas

                      A Offline
                      A Offline
                      adamsappel
                      wrote on last edited by
                      #11

                      Seriously, 1467 lines worth of copy and pasting. I don't care if he/she's your boss, shoot them, or better yet, give me their id, I'll do it...

                      1 Reply Last reply
                      0
                      • C CPallini

                        Nice. Anyway I strongly doubt the developer who created such brilliant method names will agree about the need of refactoring. ;P Well, I forgot you're the boss! :-D

                        If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                        This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                        [My articles]

                        M Offline
                        M Offline
                        Megidolaon
                        wrote on last edited by
                        #12

                        lol, have fun :doh:

                        C 1 Reply Last reply
                        0
                        • M Megidolaon

                          lol, have fun :doh:

                          C Offline
                          C Offline
                          CPallini
                          wrote on last edited by
                          #13

                          Are you his boss? :rolleyes:

                          If the Lord God Almighty had consulted me before embarking upon the Creation, I would have recommended something simpler. -- Alfonso the Wise, 13th Century King of Castile.
                          This is going on my arrogant assumptions. You may have a superb reason why I'm completely wrong. -- Iain Clarke
                          [My articles]

                          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