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. Why I hate your code

Why I hate your code

Scheduled Pinned Locked Moved The Lounge
rubycomfunctional
42 Posts 24 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.
  • J jeron1

    Have you ever inherited code from good programmers?

    "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

    C Offline
    C Offline
    Colin Mullikin
    wrote on last edited by
    #7

    I have recently, actually. One of our senior devs left the company for greener pastures and I moved into his team to pick up his work. His code is actually quite nice, and a lot of it is way beyond stuff I have ever done before, so his intuitive naming conventions and copious comments are quite helpful.

    The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

    J G F 3 Replies Last reply
    0
    • C Colin Mullikin

      I have recently, actually. One of our senior devs left the company for greener pastures and I moved into his team to pick up his work. His code is actually quite nice, and a lot of it is way beyond stuff I have ever done before, so his intuitive naming conventions and copious comments are quite helpful.

      The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

      J Offline
      J Offline
      jeron1
      wrote on last edited by
      #8

      Nice, I must say it's not too often I hear that.

      "the debugger doesn't tell me anything because this code compiles just fine" - random QA comment "Facebook is where you tell lies to your friends. Twitter is where you tell the truth to strangers." - chriselst "I don't drink any more... then again, I don't drink any less." - Mike Mullikins uncle

      H 1 Reply Last reply
      0
      • M Marc Clifton

        I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

        Z Offline
        Z Offline
        Z C M
        wrote on last edited by
        #9

        I knew there was a reason I liked you. Where I work no one writes garbage code. We just have different "programming styles", or so I've been told. Personally, I prefer not to cover buffalo chips with ketchup and call them fries. And it doesn't matter to me who wrote the garbage code: me (more than my fair share), you, Bill Gates, Steve Jobs, Mark Whatshisname, or the Pope. Garbage code is still garbage code whether or not the application works as the user wants.

        "...JavaScript could teach Dyson how to suck." -- Nagy Vilmos

        C 1 Reply Last reply
        0
        • Z Z C M

          I knew there was a reason I liked you. Where I work no one writes garbage code. We just have different "programming styles", or so I've been told. Personally, I prefer not to cover buffalo chips with ketchup and call them fries. And it doesn't matter to me who wrote the garbage code: me (more than my fair share), you, Bill Gates, Steve Jobs, Mark Whatshisname, or the Pope. Garbage code is still garbage code whether or not the application works as the user wants.

          "...JavaScript could teach Dyson how to suck." -- Nagy Vilmos

          C Offline
          C Offline
          Colin Mullikin
          wrote on last edited by
          #10

          Z.C.M. wrote:

          buffalo chips with ketchup and call them fries.

          BWWs Buffalo Chips[^] They're actually quite a bit better than fries... :-\

          The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

          1 Reply Last reply
          0
          • M Marc Clifton

            I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

            Z Offline
            Z Offline
            ZurdoDev
            wrote on last edited by
            #11

            Marc Clifton wrote:

            bad programmers

            Also known as anyone other than one's self. :-\

            There are only 10 types of people in the world, those who understand binary and those who don't.

            S M 2 Replies Last reply
            0
            • C Colin Mullikin

              Ernst Stavro Blofeld wrote:

              If it wasn't clogged, they wouldn't be calling us.

              Pretty sure I saw a video once where something like this happened. There may have been some funky guitar in the background... :-\

              The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

              OriginalGriffO Offline
              OriginalGriffO Offline
              OriginalGriff
              wrote on last edited by
              #12

              I do believe I saw the same video! The young lady housewife wasn't wearing much was she - the plumber must have been very embarrassed... :-O

              Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

              "I have no idea what I did, but I'm taking full credit for it." - ThisOldTony
              "Common sense is so rare these days, it should be classified as a super power" - Random T-shirt

              K 1 Reply Last reply
              0
              • C Colin Mullikin

                Ernst Stavro Blofeld wrote:

                If it wasn't clogged, they wouldn't be calling us.

                Pretty sure I saw a video once where something like this happened. There may have been some funky guitar in the background... :-\

                The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                S Offline
                S Offline
                Slacker007
                wrote on last edited by
                #13

                Colin Mullikin wrote:

                There may have been some funky guitar in the background.

                :-D

                1 Reply Last reply
                0
                • Z ZurdoDev

                  Marc Clifton wrote:

                  bad programmers

                  Also known as anyone other than one's self. :-\

                  There are only 10 types of people in the world, those who understand binary and those who don't.

                  S Offline
                  S Offline
                  Slacker007
                  wrote on last edited by
                  #14

                  RyanDev wrote:

                  Also known as anyone other than one's self.

                  Give this man a quarter. :)

                  L 1 Reply Last reply
                  0
                  • S Slacker007

                    RyanDev wrote:

                    Also known as anyone other than one's self.

                    Give this man a quarter. :)

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

                    No quarter given, nor expected. :-)

                    The language is JavaScript. that of Mordor, which I will not utter here
                    This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                    "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                    1 Reply Last reply
                    0
                    • OriginalGriffO OriginalGriff

                      I do believe I saw the same video! The young lady housewife wasn't wearing much was she - the plumber must have been very embarrassed... :-O

                      Bad command or file name. Bad, bad command! Sit! Stay! Staaaay...

                      K Offline
                      K Offline
                      Kevin Marois
                      wrote on last edited by
                      #16

                      Ya but did the plumber lay some pipe?

                      If it's not broken, fix it until it is

                      G 1 Reply Last reply
                      0
                      • M Marc Clifton

                        I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                        M Offline
                        M Offline
                        Mycroft Holmes
                        wrote on last edited by
                        #17

                        I like the name Critical Software Development, the implication is that if it is not critical you don't need me! I think it may still be registered to me in Oz!

                        Never underestimate the power of human stupidity RAH

                        1 Reply Last reply
                        0
                        • M Marc Clifton

                          I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                          D Offline
                          D Offline
                          Dominic Burford
                          wrote on last edited by
                          #18

                          No developer ever sets out to write bad code. Every developer writes the best code they can given the time, information and skills they have at the time. With hindsight, we can all look back at even our best work and see room for improvement.

                          "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

                          L M 2 Replies Last reply
                          0
                          • M Marc Clifton

                            I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                            Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

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

                            And of course your projects and code are perfect! Calm down dear, take a chill pill and thank your lucky stars you aren't shovelling shit for a living!

                            M 1 Reply Last reply
                            0
                            • M Marc Clifton

                              I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                              Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                              J Offline
                              J Offline
                              Jacquers
                              wrote on last edited by
                              #20

                              We have inherited some not so good projects as well that we have to maintain. The one was written by a slightly dyslexic self-taught coder. The other by someone relatively fresh out of university. It has some interesting things like all events being handled in the apps main window instead of the dialog being shown. I hate working on that project, but at least you know where to look for the code. Code reviews would have helped sort out this mess and would have helped the dev learn how to do things better.

                              1 Reply Last reply
                              0
                              • D Dominic Burford

                                No developer ever sets out to write bad code. Every developer writes the best code they can given the time, information and skills they have at the time. With hindsight, we can all look back at even our best work and see room for improvement.

                                "There are two ways of constructing a software design: One way is to make it so simple that there are obviously no deficiencies, and the other way is to make it so complicated that there are no obvious deficiencies. The first method is far more difficult." - C.A.R. Hoare Home | LinkedIn | Google+ | Twitter

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

                                When I look at what I'm currently working on, there must have been a contest over many years to write the worst and most unmaintainable code.

                                The language is JavaScript. that of Mordor, which I will not utter here
                                This is Javascript. If you put big wheels and a racing stripe on a golf cart, it's still a fucking golf cart.
                                "I don't know, extraterrestrial?" "You mean like from space?" "No, from Canada." If software development were a circus, we would all be the clowns.

                                1 Reply Last reply
                                0
                                • K Kevin Marois

                                  Ya but did the plumber lay some pipe?

                                  If it's not broken, fix it until it is

                                  G Offline
                                  G Offline
                                  Gary R Wheeler
                                  wrote on last edited by
                                  #22

                                  Roto. Rooter.

                                  Software Zen: delete this;

                                  1 Reply Last reply
                                  0
                                  • C Colin Mullikin

                                    I have recently, actually. One of our senior devs left the company for greener pastures and I moved into his team to pick up his work. His code is actually quite nice, and a lot of it is way beyond stuff I have ever done before, so his intuitive naming conventions and copious comments are quite helpful.

                                    The United States invariably does the right thing, after having exhausted every other alternative. -Winston Churchill America is the only country that went from barbarism to decadence without civilization in between. -Oscar Wilde Wow, even the French showed a little more spine than that before they got their sh*t pushed in.[^] -Colin Mullikin

                                    G Offline
                                    G Offline
                                    Gary R Wheeler
                                    wrote on last edited by
                                    #23

                                    You are dead, and you've gone to heaven. Lucky you.

                                    Software Zen: delete this;

                                    1 Reply Last reply
                                    0
                                    • M Marc Clifton

                                      I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                                      Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                      G Offline
                                      G Offline
                                      Gary R Wheeler
                                      wrote on last edited by
                                      #24

                                      Been there, done that indeed. I inherited a moderate size body of code when the company 're-organized', and then spent about 40% of my time over the next two years re-writing every damned bit of it except for the visuals. It's part of a WPF app. The UI looked really nice, but the XAML creating the UI and the code-behind was absolutely wretched.

                                      Software Zen: delete this;

                                      1 Reply Last reply
                                      0
                                      • M Marc Clifton

                                        I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                                        Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                        Y Offline
                                        Y Offline
                                        Ygnaiih
                                        wrote on last edited by
                                        #25

                                        Working on trying to wade through a large application that was originally designed by persons who couldn't write "Hello World!" in HTML. Add to that a passing army of contractors who added droves of classes that have to be dissected before you can make small changes, like don't approve something that is marked failed.

                                        I just need a day off, way off!

                                        1 Reply Last reply
                                        0
                                        • M Marc Clifton

                                          I can succinctly state why I hate working on projects inherited from others, where a huge code base is inherited from bad programmers (and I have yet to work on a project where I have not inherited code from bad programmers, because quite frankly, those projects stay where they are because the client is happy!!!) It's because I'm spending my time debugging shit that isn't my shit, it's someone else's. And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's shit. [edit]And I tend to find the most stinkiest shit written by Ruby on Rails code monkeys.[/edit] Marc

                                          Imperative to Functional Programming Succinctly Contributors Wanted for Higher Order Programming Project!

                                          A Offline
                                          A Offline
                                          agolddog
                                          wrote on last edited by
                                          #26

                                          Marc Clifton wrote:

                                          And very few things piss me off more than having to spend even a miniscule fraction of my time on this planet fixing other people's sh*t.

                                          Strange, that's one of the things I actually enjoy. I get a good feeling of accomplishment by making a system better. Sometimes, that means introducing new functionality, sometimes it means cleaning up the turds. I also think that's made me a better developer. You know, some people are only there to serve as an example to others sorta thing...seeing all that over the years makes me more aware of sh*t not to do.

                                          M 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