Questions tagged [maintenance]

The activities that occur after deployment of a software system. This includes making modifications to released systems, training, operating, and transitioning to support organizations.

Filter by
Sorted by
Tagged with
466 votes
19 answers
194k views

I've inherited 200K lines of spaghetti code -- what now?

I hope this isn't too general of a question; I could really use some seasoned advice. I am newly employed as the sole "SW Engineer" in a fairly small shop of scientists who have spent the last 10-20 ...
367 votes
28 answers
151k views

I'm doing 90% maintenance and 10% development, is this normal? [closed]

I have just recently started my career as a web developer for a medium sized company. As soon as I started I got the task of expanding an existing application (badly coded, developed by multiple ...
247 votes
6 answers
79k views

Why do dynamic languages make it more difficult to maintain large codebases? [duplicate]

Large codebases are more difficult to maintain when they are written in dynamic languages. At least that's what Yevgeniy Brikman, lead developer bringing the Play Framework to LinkedIn says in a video ...
Jus12's user avatar
  • 2,501
144 votes
31 answers
147k views

How do you dive into large code bases?

What tools and techniques do you use for exploring and learning an unknown code base? I am thinking of tools like grep, ctags, unit-tests, functional test, class-diagram generators, call graphs, ...
124 votes
7 answers
14k views

What is the most effective way to add functionality to unfamiliar, structurally unsound code? [duplicate]

This is probably something everyone has to face during the development sooner or later. You have an existing code written by someone else, and you have to extend it to work under new requirements. ...
Coder's user avatar
  • 6,968
88 votes
21 answers
15k views

How would you react if someone told you your code is a mess?

I am a good programmer, or so I thought before. I always love to program. And I want to learn many things about programming to make me a better programmer. I studied programming for 1 year and now I ...
76 votes
12 answers
10k views

Is there a point to including a "change log" in every code file when you are using version control?

I was under the impression that a version control system eliminated the need to have "change logs" plastered everywhere in the code. I've often seen the continued use of change logs, including big ...
Wayne Molina's user avatar
  • 15.6k
76 votes
9 answers
5k views

How should you deal with a popular project that you no longer want to maintain?

I am the maintainer of a project which has a large non-technical userbase. I've been maintaining it for about 4 years now and adding new features as they've been requested. I'd like to move on to ...
Mendhak's user avatar
  • 919
75 votes
7 answers
19k views

Writing Tests for Existing Code

Suppose one had a relatively large program (say 900k SLOC in C#), all commented/documented thoroughly, well organized and working well. The entire code base was written by a single senior developer ...
Paul's user avatar
  • 1,025
64 votes
11 answers
4k views

How do you stay productive when dealing with extremely badly written code?

I don't have much experience in working in software industry, being self-taught and having participated in open source before deciding to take a job. Now that I work for money, I also have to deal ...
Dan's user avatar
  • 2,902
62 votes
16 answers
10k views

Is the creation of brand new software generally a major part of most programming jobs? [closed]

I have worked in software development for over 10 years now, and it's dawning on me that I rarely get to create anything "new". I realize that "new" is a vague term, but I would define it as anything ...
60 votes
18 answers
31k views

Working on someone else's code [closed]

I have hardly a year's experience in coding. After I started working, most of the time I would be working on someone else's code, either adding new features over the existing ones or modifying the ...
55 votes
18 answers
19k views

How to manage a developer who has poor communication skills

I manage a small team of developers on an application which is in the mid-point of its lifecycle, within a big firm. This unfortunately means there is commonly a 30/70 split of Programming tasks to "...
52 votes
5 answers
4k views

Does dedicated maintenance work hamper a programmer's career? [closed]

The majority of my work over the last three years has largely been around maintaining legacy systems that needed patching up or the occasional revamp before being sold again. I understand the ...
Gyurme's user avatar
  • 450
51 votes
8 answers
55k views

Should we ever delete data in a database?

I am new to databases and trying to understand the basic concepts. I have learned how to delete data in a database. But one of my friends told me that you should never delete data in a database. ...
user avatar
50 votes
10 answers
7k views

Graduate expectations versus reality [closed]

When choosing what we want to study, and do with our careers and lives, we all have some expectations of what it is going to be like. Now that I've been in the industry for almost a decade, I've been ...
Bobby Tables's user avatar
  • 20.5k
46 votes
8 answers
4k views

Code maintenance: keeping a bad pattern when extending new code for being consistent, or not?

I have to extend an existing module of a project. I don't like the way it has been done (lots of anti-pattern involved, like copy/pasted code). I don't want to perform a complete refactor for many ...
Guillaume's user avatar
  • 2,147
41 votes
10 answers
3k views

Is it a good idea to schedule regular time to clean up code? [closed]

I'm managing a small team of developers. Every so often we decide we're going to spend a day or two to clean up our code. Would it be a good idea to schedule regular time, say 1 week every 2 months, ...
user84667's user avatar
  • 263
40 votes
10 answers
47k views

Understanding already existing complex code base [duplicate]

Possible Duplicate: What is the most effective way to add functionality to unfamiliar, structurally unsound code? Till now, all I have worked on is with Java projects that I build from scratch (...
Ankit's user avatar
  • 551
37 votes
10 answers
22k views

Why are websites (even this one) sometimes "Down for Maintenance"?

I have personally never done this. I don't understand why so many sites do, if you do your development on a development server why would you ever need to shut down your production site? I have always ...
JD Isaacks's user avatar
  • 8,914
37 votes
9 answers
6k views

Real world pitfalls of introducing F# into a large codebase and engineering team [closed]

I'm CTO of a software firm with a large existing codebase (all C#) and a sizable engineering team. I can see how certain parts of the code would be far easier to write in F#, resulting in faster ...
37 votes
2 answers
3k views

How do you keep your basic skills from atrophy? [closed]

Coding is only one aspect to professional programming. My job requires me to code, but it also requires me to do other things for extended periods – sometimes days or weeks go by when I'm not just ...
kojiro's user avatar
  • 2,105
34 votes
7 answers
11k views

Becoming a "maintenance developer" [duplicate]

So I've kind of been getting angry about the current position I'm in, and I'd love to get other developers' input on this. I've been at my current place of employment for about 11 months now. When I ...
user avatar
33 votes
7 answers
8k views

Who should pay for fixes/bugs? [closed]

So I just started freelancing both in desktop/web development and this client who already accepted my work, and payed me keeps coming back at me each time he finds a bug etc. And I have found myself ...
Agush's user avatar
  • 423
32 votes
13 answers
2k views

Problems (such as maintenance) in development with unpopular language

I'm developing some application with clojure(lisp) alone in my team. It starts as small application. No problem. But as it's having features and extending the area, it's becoming important program. I ...
Hybrid's user avatar
  • 413
30 votes
6 answers
8k views

Thousands of errors!

I was assigned to a new project recently. Well, an old project actually, written in classic ASP. Now a new version of the application is being written in the latest ASP.NET, but it's not expected to ...
Mr Lister's user avatar
  • 1,600
30 votes
11 answers
4k views

What factors should influence how I determine when to abandon a small project with a friend? [closed]

I've found myself in a tough spot as of late. Been working on a game with a programming buddy for nearly 8 months now. We both started off as newcomers to programming around August of last year, he is ...
Douglas Gaskell's user avatar
28 votes
7 answers
9k views

Is there an opposite for the term "Backporting"?

As I understand, the term "Backporting" is used to describe a fix which is applied in a future version which is also ported to a previous version. Wikipedia definition is as follows: Backporting is ...
Avian00's user avatar
  • 629
28 votes
8 answers
8k views

When do you rebuild an application or keep on fixing the existing one [duplicate]

Possible Duplicates: When is a BIG Rewrite the answer? Have you ever been involved in a BIG Rewrite? I am at a customer where I have been tasked to fix a number of issues they have in their ...
Ghlouw's user avatar
  • 444
28 votes
6 answers
2k views

Maintain a web application once the only developer is gone

I have a terminal disease and there is a very high chance that I will no longer be in this world by the end of the year. I have developed a web application that it is extensively used in my family’s ...
user986244's user avatar
27 votes
12 answers
5k views

How do people manage to write and maintain extremely complex and hard to read code? [closed]

Reading SQLite source code is IMO mission impossible. Yet it is a usable piece of quite complex software (it's a full-blown embedded database after all) that can be downloaded, compiled and used from ...
sharptooth's user avatar
  • 4,339
25 votes
12 answers
3k views

Industry has no place for passionate programmers? [closed]

I've been interning at a place where my manager believes that if you are in a, product company, then you generally spend time tweaking the product and sometimes adding some features, or service ...
Jungle Hunter's user avatar
25 votes
9 answers
3k views

How should I go about learning a very large and complex application? [duplicate]

Being a young and fairly inexperienced developer recently employed by a "real" software company I'd like some opinions and pointers on how to do the following: Approaches on how to get familiar with ...
Dani's user avatar
  • 351
25 votes
6 answers
2k views

How to fix a project with basically no structure?

I've been working on a software project mostly solo for over 5 years. It was a mess to begin with (I am the third or fourth developer to be working on it), and although it's less of a mess now it is ...
Dylan Nissley's user avatar
24 votes
13 answers
5k views

Becoming a Better Bug-Fixer

I love being a programmer. There, I said it. However, with that said, I've realized lately that I really can't stand bug-fixing. At all. In fact, while I'm developing something, my productivity is ...
Naftuli Kay's user avatar
  • 1,591
24 votes
1 answer
2k views

What is the effect of creating unit tests during development on time to develop as well as time spent in maintenance activities?

I'm a consultant and I am going to introduce unit tests to all developers at my client site. My goal is to ensure that all new applications should have unit tests for all classes created. The client ...
jgauffin's user avatar
  • 4,512
23 votes
12 answers
3k views

I just started a job with Scrum and something seems to be missing. I am new to Scrum

The code is a complete mess of a combination of classic ASP/ASP.NET. The scrum consist of us patching up the big mess or making additions to it. We are all too busy doing that to start a rewrite so I ...
punkouter's user avatar
  • 1,123
23 votes
4 answers
12k views

How to deal with team members writing bad code [duplicate]

Our team consits of junior and senior developers. Problem I am facing is with the code written by seniors. They are not following MINIMUM coding standards. I am also still learning but I wouldn't ...
Sunny's user avatar
  • 929
23 votes
3 answers
12k views

Git branching strategy for long-running unreleased code

At our team, in addition to individual units of work (Stories), we have longer-running themes of work (Epics). Multiple stories make an epic. Traditionally we've had feature branches for each Story, ...
Sitati's user avatar
  • 341
22 votes
9 answers
3k views

Is it normal/acceptable to write down notes, thoughts, algorithms, decisions during coding and maintenance? [closed]

Some people have this problem that they cannot think without words. And writing down their thoughts and decisions is the most effective way to proceed. So - is it normal and acceptable that I write ...
TomR's user avatar
  • 1,003
22 votes
5 answers
1k views

How to handle this unfortunately non hypothetical situation with end-users?

I work in a medium sized company but with a very small IT force. Last year (2011), I wrote an application that is very popular with a large group of end-users. We hit a deadline at the end of last ...
User Smith's user avatar
21 votes
12 answers
2k views

How can a maintenance-only programmer get a raise? [closed]

I have been working as a maintenance programmer for a couple of years and am wondering if there is such a thing as a raise for maintenance programmer? I ask because responsibilities don't get wider, ...
user avatar
21 votes
4 answers
2k views

Helping someone who is not and never will be a professional programmer write code that is more legible and usable to use and interpret [closed]

I am Elvis, trying very hard to learn to be Einstein. I work for Mort. What the hell is this crazy idiot talking about!?!? (You only need to read the first few paragraphs) If you don't feel like ...
durron597's user avatar
  • 7,550
20 votes
13 answers
2k views

When is it acceptable to NOT fix broken windows?

In reference to broken windows, are there times when refactoring is best left for a future activity? For example, if a project to add some new features to an existing internal system is assigned to a ...
Bullines's user avatar
  • 349
20 votes
5 answers
29k views

switch statement - handling default case when it can't be reached

If I'm using a switch statement to handle values from an enum (which is owned by my class) and I have a case for each possible value - is it worth adding code to handle the "default" case? enum ...
s d's user avatar
  • 322
20 votes
3 answers
2k views

Is there a measure of code rot? [duplicate]

I'm dealing, again, with a messy C++ application, tons of classes with confusing names, objects have pointers into each other and all over, longwinded Boost and STL data types, etc. (Pause and ...
DarenW's user avatar
  • 4,433
19 votes
4 answers
3k views

How to convince/prove my manager that a rewriting is needed rather than a refactoring [duplicate]

My manager wants me to refactor a gigantic amount of terribly-coupled, macroed, full of private namespace methods, hierarchy-perverted (even 10+ levels of inheritance) code which hasn't been (indeed) ...
Marco A.'s user avatar
  • 422
19 votes
7 answers
6k views

How to ease the maintenance of event driven code?

When using an event based component I often feel some pain at maintenance phase. Since the executed code is all split around it can be quite hard to figure what will be all the code part that will ...
Guillaume's user avatar
  • 2,147
18 votes
6 answers
4k views

Does dealing with legacy code help one evolve as a programmer? [closed]

I'm a Java developer with a bit more than a year of experience which places me somewhere above a junior, but not among mid-level developers yet. Recently I was offered a long-term project which is ...
svz's user avatar
  • 307
18 votes
7 answers
1k views

How to improve the training of students regarding maintainability? [closed]

Maintainability is a major stake of professional software development. Indeed, maintenance is nearly always the longest part of a software life cycle, as it lasts from the project release until ...
Matthias Jouan's user avatar

1
2 3 4 5