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.
  • 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
                • 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
                  James R Twine
                  wrote on last edited by
                  #24

                  Only if I am given the freedom to improve, refactor, enhance, optimize, etc. as I see fit.  If not, my experience and wisdom is being wasted, and the money for my salary or rate is better put elsewhere.    Then again, if you have a company that wants to pay you $75+/hour to do maintenance... Let 'em!  Enjoy the easy money for as long as it is there.  Might want to mention that your abilities are better used elsewhere, but if they want to waste the money on you...    Peace!

                  -=- James
                  Please rate this message - let me know if I helped or not! * * * If you think it costs a lot to do it right, just wait until you find out how much it costs to do it wrong!
                  Remember that Professional Driver on Closed Course does not mean your Dumb Ass on a Public Road!
                  See DeleteFXPFiles

                  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?

                    A Offline
                    A Offline
                    Alan Balkany
                    wrote on last edited by
                    #25

                    Maintenance projects are usually harder and unrewarding to work on because most programmers don't write maintainable code. The majority of programmers don't comment adequately (in my opinion), and their code often has unnecessary complexity. Good code is simple and clear.

                    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?

                      A Offline
                      A Offline
                      Anna Jayne Metcalfe
                      wrote on last edited by
                      #26

                      Christian Flutcher wrote:

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

                      Sometimes. Rapid mass refactoring without a visible safety net is a bit of a speciality of mine. :-\

                      Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                      C 1 Reply Last reply
                      0
                      • K Kevin McFarlane

                        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 Offline
                        A Offline
                        Anna Jayne Metcalfe
                        wrote on last edited by
                        #27

                        Fowler's book is excellent. That and a chance conversation with Bob Walsh[^] were what got me into TDD, and now I'll happily mock anything... :-\

                        Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                        K 1 Reply Last reply
                        0
                        • A Anna Jayne Metcalfe

                          Christian Flutcher wrote:

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

                          Sometimes. Rapid mass refactoring without a visible safety net is a bit of a speciality of mine. :-\

                          Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                          C Offline
                          C Offline
                          Christian Flutcher
                          wrote on last edited by
                          #28

                          Anna-Jayne Metcalfe wrote:

                          Rapid mass refactoring without a visible safety net is a bit of a speciality of mine

                          Yeah, that works well. But I am afraid to do it as no one knows my refactoring breaks somewhere else.

                          A 1 Reply Last reply
                          0
                          • A Anna Jayne Metcalfe

                            Fowler's book is excellent. That and a chance conversation with Bob Walsh[^] were what got me into TDD, and now I'll happily mock anything... :-\

                            Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

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

                            Did you mean to say Feathers' book?

                            Kevin

                            A 1 Reply Last reply
                            0
                            • K Kevin McFarlane

                              Did you mean to say Feathers' book?

                              Kevin

                              A Offline
                              A Offline
                              Anna Jayne Metcalfe
                              wrote on last edited by
                              #30

                              I did. :doh: Everything here is happening at 3 times normal speed this week - we have a major update to Visual Lint happening at the end of the week (v2.0, and a new product edition) and I'm juggling last minute testing, press releases and all the other stuff that goes with a major version update. With all of that going most of my brain cells have well and truly run for cover. When it's over there is some serious Belgian beer and (home grown!) chilli on the horizon. Anyone in the Bournemouth area is welcome to join the party, of course! :-D

                              Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                              1 Reply Last reply
                              0
                              • C Christian Flutcher

                                Anna-Jayne Metcalfe wrote:

                                Rapid mass refactoring without a visible safety net is a bit of a speciality of mine

                                Yeah, that works well. But I am afraid to do it as no one knows my refactoring breaks somewhere else.

                                A Offline
                                A Offline
                                Anna Jayne Metcalfe
                                wrote on last edited by
                                #31

                                It's always a bit of a juggling act. Fortunately, I've had enough practice over the years to know exactly where to draw the line, and where to back out changes before committing them. :)

                                Anna :rose: Having a bad bug day? Tech Blog | Anna's Place | Tears and Laughter "If mushy peas are the food of the devil, the stotty cake is the frisbee of God"

                                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?

                                  R Offline
                                  R Offline
                                  Roger Wright
                                  wrote on last edited by
                                  #32

                                  I don't mind them, since I got my programming start doing them. One of my first jobs was to update and rehost a bunch of test programs (ATE for Standard Missile factory test) on a new OS and hardware platform. I committed my first major faux pas when I marched into the boss' office with a completely botched piece of crap, shoved the source listing in front of him, and complained about the moronic simpleton who wrote the garbage. He hung his head and said, "I wrote that one." Oops. :-O

                                  "A Journey of a Thousand Rest Stops Begins with a Single Movement"

                                  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?

                                    H Offline
                                    H Offline
                                    Hans Dietrich
                                    wrote on last edited by
                                    #33

                                    I would have a lot less work if it wasn't for incompetent programmers who write code with no comments. Thanks to them, when something needs to be changed or fixed quickly, I get calls that the client has a "critical situation" and will pay top dollar for a fast fix. I have a toolkit I use (some bought, most I developed) that helps me navigate in strange code, and within minutes of sitting down with it I can see what the hierarchy is, and within an hour I usually know what needs to be changed and what it will impact. So, no, I don't mind maintenance one bit. :)

                                    Best wishes, Hans


                                    [CodeProject Forum Guidelines] [How To Ask A Question] [My Articles]

                                    1 Reply Last reply
                                    0
                                    • R Rage

                                      Christian Flutcher wrote:

                                      Do you guys enjoy maintenance projects?

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

                                      M Offline
                                      M Offline
                                      Monark
                                      wrote on last edited by
                                      #34

                                      Rage wrote:

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

                                      I wish I could take such a step but due to contract I am stuck

                                      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