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. Do you enjoy maintenance projects?

Do you enjoy maintenance projects?

Scheduled Pinned Locked Moved The Lounge
csharpquestion
34 Posts 18 Posters 1 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.
  • R Rage

    Christian Flutcher wrote:

    Do you guys enjoy maintenance projects?

    I resigned last time I had to do that. 'nuff said.

    realJSOPR Offline
    realJSOPR Offline
    realJSOP
    wrote on last edited by
    #4

    That's mature...

    "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

    R 1 Reply Last reply
    0
    • C Christian Flutcher

      I am not enjoying our current C# project which contains 60 projects and not even a single documentation! Do you guys enjoy maintenance projects?

      S Offline
      S Offline
      Super Lloyd
      wrote on last edited by
      #5

      Nobody does usually. And there is a reason for that. If an old project needs to be maintained that usually means it's full of subtle bug that even the original creator haven't been able to fix. On top of that there is often and also a huge amount of patches plugged on top which don't work well with the main code. It's a nightmare. The only way to do a pleasant maintenance is appropriation. You need to do it full time for a while, and just rewrite things as you see fit. Of course there is always the additional hassle of the management who don't want any rewrite but just a quick and little (ahum, cough) fix... You need to explain them that doesn't work like that, and you can make it fun in the long run! ;)

      A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

      G 1 Reply Last reply
      0
      • P phannon86

        Nope, recently I was handed a monstrosity. Some old mashed together turd consisting of lots of random .asp pages containing some very poor html and vbscript, laid out using some god-awful css that was yanked off of someone's blog. I don't even usually do web stuff here, just winapps in C# or MFC. [edit]Oh and of course, no comments[/edit]

        He who makes a beast out of himself gets rid of the pain of being a man

        modified on Monday, September 22, 2008 5:25 AM

        B Offline
        B Offline
        Brady Kelly
        wrote on last edited by
        #6

        Phannon wrote:

        very poor html

        What HTML is good?

        P 1 Reply Last reply
        0
        • C Christian Flutcher

          I am not enjoying our current C# project which contains 60 projects and not even a single documentation! Do you guys enjoy maintenance projects?

          B Offline
          B Offline
          Brady Kelly
          wrote on last edited by
          #7

          In a way. I like working with different stuff, so the challenge of maint sometimes makes up for the nightmaters. I also enjoy 'least impact' code, i.e. not leaving anything behind except the spec'd change, regardless of my desire to rewrite the whole damn thing.

          1 Reply Last reply
          0
          • realJSOPR realJSOP

            That's mature...

            "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

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

            Is this irony ? I think that in the C/C++ world, it is more likely nowadays to maintain code than create new one. So I do not have anything against maintaining code, but having to do overtime just because the code is an uncommented mess and you nedd two hours instead of one to understand what is actually going on, not saying what it requires to change something without side-effects, is something I simply do not agree with. So I moved to something else, I think this is legal.

            realJSOPR K Z 3 Replies Last reply
            0
            • B Brady Kelly

              Phannon wrote:

              very poor html

              What HTML is good?

              P Offline
              P Offline
              phannon86
              wrote on last edited by
              #9

              True, I'm not a fan of the stuff, but this is making my eyes bleed :laugh:

              He who makes a beast out of himself gets rid of the pain of being a man

              1 Reply Last reply
              0
              • R Rage

                Is this irony ? I think that in the C/C++ world, it is more likely nowadays to maintain code than create new one. So I do not have anything against maintaining code, but having to do overtime just because the code is an uncommented mess and you nedd two hours instead of one to understand what is actually going on, not saying what it requires to change something without side-effects, is something I simply do not agree with. So I moved to something else, I think this is legal.

                realJSOPR Offline
                realJSOPR Offline
                realJSOP
                wrote on last edited by
                #10

                Rage wrote:

                I think that in the C/C++ world, it is more likely nowadays to maintain code than create new one.

                I don't know how you can make a statement like that. For example, there are BILLIONS of lines of Cobol that exist today, and MILLIONS more new lines of Cobol being written every year. Like Cobol, there are billions of lines of C++ code to maintain, but that certainly doesn't mean that nobody's writing new code. Yes, many programs are completely free of comments and/or documentation. Yes, that makes them a true bitch to work on. Yes, all of us have to do it, and you'll find that unless you're the first programmer to write code at a job, you're going to encounter legacy code that looks like crap (in your eyes). Maintenance coding is part of the job. If you don't like the idea of maintenance work, find another profession, because you can't quit every job that requires it.

                "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

                R 1 Reply Last reply
                0
                • realJSOPR realJSOP

                  Rage wrote:

                  I think that in the C/C++ world, it is more likely nowadays to maintain code than create new one.

                  I don't know how you can make a statement like that. For example, there are BILLIONS of lines of Cobol that exist today, and MILLIONS more new lines of Cobol being written every year. Like Cobol, there are billions of lines of C++ code to maintain, but that certainly doesn't mean that nobody's writing new code. Yes, many programs are completely free of comments and/or documentation. Yes, that makes them a true bitch to work on. Yes, all of us have to do it, and you'll find that unless you're the first programmer to write code at a job, you're going to encounter legacy code that looks like crap (in your eyes). Maintenance coding is part of the job. If you don't like the idea of maintenance work, find another profession, because you can't quit every job that requires it.

                  "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

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

                  John Simmons / outlaw programmer wrote:

                  MILLIONS more new lines of Cobol being written every year.

                  Maybe, but I think that these lines of codes are written to maintain the BILLIONS of existing. I am not sure that there are that many new projects starting from scratch in COBOL.

                  John Simmons / outlaw programmer wrote:

                  because you can't quit every job that requires it.

                  No, but I can quit every job where the environment makes it even harder. As I said in my previous post, sure it is part of the job, sure I have and will surely again come across legacy code, but I will not accept to maintain it under all circumstances.

                  P 1 Reply Last reply
                  0
                  • S Super Lloyd

                    Nobody does usually. And there is a reason for that. If an old project needs to be maintained that usually means it's full of subtle bug that even the original creator haven't been able to fix. On top of that there is often and also a huge amount of patches plugged on top which don't work well with the main code. It's a nightmare. The only way to do a pleasant maintenance is appropriation. You need to do it full time for a while, and just rewrite things as you see fit. Of course there is always the additional hassle of the management who don't want any rewrite but just a quick and little (ahum, cough) fix... You need to explain them that doesn't work like that, and you can make it fun in the long run! ;)

                    A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                    G Offline
                    G Offline
                    Graham Bradshaw
                    wrote on last edited by
                    #12

                    Super Lloyd wrote:

                    usually means it's full of subtle bug that even the original creator haven't been able to fix

                    No, it usually it just means that the original requirements have changed.

                    S 1 Reply Last reply
                    0
                    • G Graham Bradshaw

                      Super Lloyd wrote:

                      usually means it's full of subtle bug that even the original creator haven't been able to fix

                      No, it usually it just means that the original requirements have changed.

                      S Offline
                      S Offline
                      Super Lloyd
                      wrote on last edited by
                      #13

                      Well, I guess 'usually' was an inappropriate word. But because 'maintenance' could means both. And, for one, I have seen more of the bug thing that the requirement thing.

                      A train station is where the train stops. A bus station is where the bus stops. On my desk, I have a work station.... _________________________________________________________ My programs never have bugs, they just develop random features.

                      1 Reply Last reply
                      0
                      • R Rage

                        Is this irony ? I think that in the C/C++ world, it is more likely nowadays to maintain code than create new one. So I do not have anything against maintaining code, but having to do overtime just because the code is an uncommented mess and you nedd two hours instead of one to understand what is actually going on, not saying what it requires to change something without side-effects, is something I simply do not agree with. So I moved to something else, I think this is legal.

                        K Offline
                        K Offline
                        Kevin McFarlane
                        wrote on last edited by
                        #14

                        Rage wrote:

                        not saying what it requires to change something without side-effects, is something I simply do not agree with

                        This is where we would all benefit if mainstream languages supported design by contract. Of course devs would still have to write the contracts but if the language made it easy to do so it would encourage developers to do so.

                        Kevin

                        realJSOPR 1 Reply Last reply
                        0
                        • C Christian Flutcher

                          I am not enjoying our current C# project which contains 60 projects and not even a single documentation! Do you guys enjoy maintenance projects?

                          K Offline
                          K Offline
                          Kevin McFarlane
                          wrote on last edited by
                          #15

                          Probably most of us don't. But it is a fact of life. Code has to be maintained so we must be prepared to perform these tasks. Occasionally it can be quite enjoyable and we can learn something from it - both when the code is bad and when the code is good. I didn't have to do much maintenance in my last contract. But just before the contract started I bought Working Effectively with Legacy Code[^]. I've read a fair bit of it and it's something I intend to make use of going forward. At least it's a way of adding some interest when faced with a horrendous maintenance project. Don't be fooled by the book's title though. "Legacy" means virtually all code that has to be maintained - even if it's spanking new .NET 3.5.

                          Kevin

                          A 1 Reply Last reply
                          0
                          • K Kevin McFarlane

                            Rage wrote:

                            not saying what it requires to change something without side-effects, is something I simply do not agree with

                            This is where we would all benefit if mainstream languages supported design by contract. Of course devs would still have to write the contracts but if the language made it easy to do so it would encourage developers to do so.

                            Kevin

                            realJSOPR Offline
                            realJSOPR Offline
                            realJSOP
                            wrote on last edited by
                            #16

                            Well-design and written code doesn't have "side-effects".

                            "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

                            K 1 Reply Last reply
                            0
                            • realJSOPR realJSOP

                              Well-design and written code doesn't have "side-effects".

                              "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

                              K Offline
                              K Offline
                              Kevin McFarlane
                              wrote on last edited by
                              #17

                              Well I was interpreting side-effects in terms of mutability of state vs. non-mutability, e.g., as described in functional programming. http://en.wikipedia.org/wiki/Functional_programming[^] Contracts make it explicit (in code, as opposed to comments) what state is changed by a method.

                              Kevin

                              P 1 Reply Last reply
                              0
                              • R Rage

                                John Simmons / outlaw programmer wrote:

                                MILLIONS more new lines of Cobol being written every year.

                                Maybe, but I think that these lines of codes are written to maintain the BILLIONS of existing. I am not sure that there are that many new projects starting from scratch in COBOL.

                                John Simmons / outlaw programmer wrote:

                                because you can't quit every job that requires it.

                                No, but I can quit every job where the environment makes it even harder. As I said in my previous post, sure it is part of the job, sure I have and will surely again come across legacy code, but I will not accept to maintain it under all circumstances.

                                P Offline
                                P Offline
                                Pawel Krakowiak
                                wrote on last edited by
                                #18

                                Rage wrote:

                                As I said in my previous post, sure it is part of the job, sure I have and will surely again come across legacy code, but I will not accept to maintain it under all circumstances.

                                And I simply agree with you.

                                1 Reply Last reply
                                0
                                • R Rage

                                  Is this irony ? I think that in the C/C++ world, it is more likely nowadays to maintain code than create new one. So I do not have anything against maintaining code, but having to do overtime just because the code is an uncommented mess and you nedd two hours instead of one to understand what is actually going on, not saying what it requires to change something without side-effects, is something I simply do not agree with. So I moved to something else, I think this is legal.

                                  Z Offline
                                  Z Offline
                                  Zhat
                                  wrote on last edited by
                                  #19

                                  I interview for a job about 1.5 years ago...100% C++...new C++.

                                  1 Reply Last reply
                                  0
                                  • C Christian Flutcher

                                    I am not enjoying our current C# project which contains 60 projects and not even a single documentation! Do you guys enjoy maintenance projects?

                                    P Offline
                                    P Offline
                                    peterchen
                                    wrote on last edited by
                                    #20

                                    Depends on what "maintenance" means. If the project is still "life and active", fine. if the project is "dead because we don#t get any money for it anymore, but we have to fix bugs, so fix the bugs but with the least effort possible, no investments at all", it sucks for all involved. Fundamental problem: Most education is aimed at writing new code, though most programmers (what were the statistics? >70% or something?) work in maintenance.

                                    Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                                    1 Reply Last reply
                                    0
                                    • C Christian Flutcher

                                      I am not enjoying our current C# project which contains 60 projects and not even a single documentation! Do you guys enjoy maintenance projects?

                                      J Offline
                                      J Offline
                                      John M Drescher
                                      wrote on last edited by
                                      #21

                                      Only when I wrote the code in the first place.

                                      John

                                      1 Reply Last reply
                                      0
                                      • K Kevin McFarlane

                                        Well I was interpreting side-effects in terms of mutability of state vs. non-mutability, e.g., as described in functional programming. http://en.wikipedia.org/wiki/Functional_programming[^] Contracts make it explicit (in code, as opposed to comments) what state is changed by a method.

                                        Kevin

                                        P Offline
                                        P Offline
                                        peterchen
                                        wrote on last edited by
                                        #22

                                        If the program has no observable side effects (using this strict definition), why should I run it at all? :D

                                        Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                                        K 1 Reply Last reply
                                        0
                                        • P peterchen

                                          If the program has no observable side effects (using this strict definition), why should I run it at all? :D

                                          Burning Chrome ^ | Linkify!| FoldWithUs! | sighist

                                          K Offline
                                          K Offline
                                          Kevin McFarlane
                                          wrote on last edited by
                                          #23

                                          Well, that's what puzzles me about functional programming!:confused: But I've not looked into FP yet.

                                          Kevin

                                          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