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 I Hate

Code I Hate

Scheduled Pinned Locked Moved The Lounge
designlearning
28 Posts 21 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.
  • realJSOPR realJSOP

    Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

    "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

    E Offline
    E Offline
    Ennis Ray Lynch Jr
    wrote on last edited by
    #12

    I didn't know we worked at the same place.


    On two occasions I have been asked [by members of Parliament], 'Pray, Mr. Babbage, if you put into the machine wrong figures, will the right answers come out?' I am not able rightly to apprehend the kind of confusion of ideas that could provoke such a question. - Charles Babbage

    1 Reply Last reply
    0
    • C Christopher Duncan

      Chris Losinger wrote:

      there's never time set aside specifically to fix the mess we made the first time around.

      Sure there is. It's called version 2.0. :-D

      Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

      M Offline
      M Offline
      Maximilien
      wrote on last edited by
      #13

      in parallel universes ?


      Maximilien Lincourt Your Head A Splode - Strong Bad

      1 Reply Last reply
      0
      • realJSOPR realJSOP

        Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

        "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

        D Offline
        D Offline
        Dan Neely
        wrote on last edited by
        #14

        What's even worse is "This is just a prototype, once we actually figure out how and what it needs to do we'll completely rewrite it properly from scratch."

        1 Reply Last reply
        0
        • realJSOPR realJSOP

          Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

          "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

          N Offline
          N Offline
          Not Active
          wrote on last edited by
          #15

          Always enough time to do it over, but never enough to do it right. Certainly been there before :((


          only two letters away from being an asset

          1 Reply Last reply
          0
          • realJSOPR realJSOP

            Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

            "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

            C Offline
            C Offline
            Chris S Kaiser
            wrote on last edited by
            #16

            John Simmons / outlaw programmer wrote:

            Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

            And they wonder why I enjoy many a :beer:... What can actually be done though. Seriously. We all have to get our bread and butter. Do we just bite the bullet and spend the wee hours burning midnight oil to put in the extra time to make it right? We're talking about design really. And the idea that if your not coding then your not working. How about the fact that amortizing the design time across the "What the hell" time that you get when winging it, it would probably work out to being just a little under. Meaning taking the initiative initially to design first, then stick to the design when coding it would equate to just a little less time than just hacking away at it til it works. Debugging should go quicker under a designed app. I think we need some subtle subterfuge to sneak in the design. The problem I have is that the requirements change and are very slim at design time. Such that the design you snuck in breaks as the real requirements are fleshed out. Its a battle. And you've got to have your armor. And they wonder why I enjoy many a :beer:... Nothing like being paid well to feel like a powerless monkey.

            This statement is false.

            1 Reply Last reply
            0
            • C Christopher Duncan

              :omg: You can read? This changes everything!

              Author of The Career Programmer and Unite the Tribes www.PracticalStrategyConsulting.com

              J Offline
              J Offline
              Jim Crafton
              wrote on last edited by
              #17

              It's a rarity in the South, but it does occaisonally happen. Ditto for dental appointments, steering clear of sexual relations with siblings, etc. (ducks and runs....) :)

              ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

              J 1 Reply Last reply
              0
              • J Jim Crafton

                It's a rarity in the South, but it does occaisonally happen. Ditto for dental appointments, steering clear of sexual relations with siblings, etc. (ducks and runs....) :)

                ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

                J Offline
                J Offline
                Jeremy Falcon
                wrote on last edited by
                #18

                Jim Crafton wrote:

                It's a rarity in the South, but it does occaisonally happen. Ditto for dental appointments, steering clear of sexual relations with siblings, etc.

                But, at least us southerns know what grits are. :-D

                Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                J 1 Reply Last reply
                0
                • J Jeremy Falcon

                  Jim Crafton wrote:

                  It's a rarity in the South, but it does occaisonally happen. Ditto for dental appointments, steering clear of sexual relations with siblings, etc.

                  But, at least us southerns know what grits are. :-D

                  Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                  J Offline
                  J Offline
                  Jim Crafton
                  wrote on last edited by
                  #19

                  True enough! Never misunderestimate the power of some good grits!

                  ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

                  J 1 Reply Last reply
                  0
                  • realJSOPR realJSOP

                    Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

                    "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

                    J Offline
                    J Offline
                    Jim A Johnson
                    wrote on last edited by
                    #20

                    I really, really, really can relate to that.

                    1 Reply Last reply
                    0
                    • realJSOPR realJSOP

                      Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

                      "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

                      L Offline
                      L Offline
                      leckey 0
                      wrote on last edited by
                      #21

                      So sounds like my last job.

                      1 Reply Last reply
                      0
                      • realJSOPR realJSOP

                        Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

                        "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

                        J Offline
                        J Offline
                        Joe Woodbury
                        wrote on last edited by
                        #22

                        I think plenty of developers are directly guilty of what you describe, it's also very important to note that many others are simply responding to the demands of management. I remember getting on a project that was part of the purchase of another company. All but one of the original developers quit since they didn't want to relocate. The code varied from pretty good to simply dreadful and anyone looking at the code would shake their heads and ask "what were they thinking?" But then I found out the history and it became crystal clear: they were trying to keep their heads above water with extremely aggressive schedules from management. I started doing experiments. I'd write test code with a test app before rolling it into the real app (I almost always do this.) I discovered it took, on average, four times longer to work on the legacy code versus a new code base (in one case, the ratio was 60:1--no joke, I fully implemented the feature in the test app in 20 minutes, it took twenty hours to work that code into the app.) I wrote several emails to management explaining the situation and was totally ignored.

                        Anyone who thinks he has a better idea of what's good for people than people do is a swine. - P.J. O'Rourke

                        1 Reply Last reply
                        0
                        • D David Crow

                          It's amazing how many have no time to do it right, but have plenty of time to do it over.


                          "Approved Workmen Are Not Ashamed" - 2 Timothy 2:15

                          "Judge not by the eye but by the heart." - Native American Proverb

                          S Offline
                          S Offline
                          Sceptic Mole
                          wrote on last edited by
                          #23

                          DavidCrow wrote:

                          It's amazing how many have no time to do it right, but have plenty of time to do it over.

                          ... and plenty of time to debug it. Bug for bug. :suss: Because Debugging is soooo coool. You need to be a real guru to find all the nasty bugs that you have introduced before.

                          1 Reply Last reply
                          0
                          • L led mike

                            http://www.martinfowler.com/bliki/TechnicalDebt.html[^]

                            led mike

                            P Offline
                            P Offline
                            Paul M Watt
                            wrote on last edited by
                            #24

                            I like that term, I think I will have to use it to justify some code refactoring that I have been trying to push lately and see how far it gets me.


                            Build a man a fire, and he will be warm for a day
                            Light a man on fire, and he will be warm for the rest of his life!

                            1 Reply Last reply
                            0
                            • realJSOPR realJSOP

                              Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

                              "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

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

                              When coding, I make sure the design and performance are complete BEFORE the release. Neither come first or last. Because of course, the program must work, but then again, you must have a User-Compatible program which requires a good design. Everthing should be working fine and look good before the final release.


                              Extreme Exe

                              1 Reply Last reply
                              0
                              • realJSOPR realJSOP

                                Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later". Code like this eventually becomes so mired in bad practice and execution that everyone's afraid to touch it, and most of it is scatter all to hell and back wth no hope of anything fixing the situation short of a complete freakin re-write. Of course, you're so low on the food/command chain that anything you say will be rebuffed as if you'd only been programming for a few freakin days. Everyone wants a working product, but nobody's concerned about the ramifications of maintainability by THE NEW PEOPLE THEY'RE GOING TO HIRE WHEN I QUIT!

                                "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

                                M Offline
                                M Offline
                                Marc Clifton
                                wrote on last edited by
                                #26

                                John Simmons / outlaw programmer wrote:

                                Most of you probably already know - code written by someone that lives by the mantra "Let's make it work now, and worry about proper design later. Afterall, we can always come back and clean it up later".

                                I hear that just about every week from one of my clients. I have a new meditation: "What does refactoring look like?" It goes along with "What's the sound of one hand clapping?" Marc

                                Thyme In The Country

                                People are just notoriously impossible. --DavidCrow
                                There's NO excuse for not commenting your code. -- John Simmons / outlaw programmer
                                People who say that they will refactor their code later to make it "good" don't understand refactoring, nor the art and craft of programming. -- Josh Smith

                                1 Reply Last reply
                                0
                                • J Jim Crafton

                                  True enough! Never misunderestimate the power of some good grits!

                                  ¡El diablo está en mis pantalones! ¡Mire, mire! Real Mentats use only 100% pure, unfooled around with Sapho Juice(tm)! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Techno Silliness

                                  J Offline
                                  J Offline
                                  Jeremy Falcon
                                  wrote on last edited by
                                  #27

                                  Jim Crafton wrote:

                                  Never misunderestimate the power of some good grits!

                                  :laugh:

                                  Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

                                  B 1 Reply Last reply
                                  0
                                  • J Jeremy Falcon

                                    Jim Crafton wrote:

                                    Never misunderestimate the power of some good grits!

                                    :laugh:

                                    Jeremy Falcon A multithreaded, OpenGL-enabled application.[^]

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

                                    Hey! We are tallking about code we hate, not food we hate ... :~

                                    Any sufficiently gross incompetence is nearly indistinguishable from malice.

                                    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