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
9 votes
6 answers
442 views

Policy and practice on code maintenance

I just came out of University and have been working at this company for roughly 8 months, while I was given the title of developer, most of the time I have spent on is fixing and debugging other ...
overloading's user avatar
15 votes
5 answers
1k views

How to convince my coworkers that doing things right will save them time

I recently started at a new company, with a handful of programmers. Its a medium sized company, with around 70 employees, but IT only has 9-10, and there are 3 "programmers" beside myself. However, ...
Brandon's user avatar
  • 5,873
7 votes
3 answers
1k views

Functional testing before code checkin

I am working on a project with legacy code where it does not have much code coverage. One of the idea to improve that is to enforce a rule that each code check-in must have test, not only test but ...
bond's user avatar
  • 231
2 votes
3 answers
2k views

How can I determine how to charge for supporting SharePoint sites and SharePoint development? [closed]

I recently created a site in SharePoint and I need to setup a maintenance/support agreement for the site. In addition to the site, there are some custom modules that were developed that we monitor. ...
TeddyRuxpin's user avatar
9 votes
2 answers
401 views

What tools or techniques are useful for describing an unfamiliar codebase? [closed]

When manually inspecting unfamiliar code (to review or modify), I seem to have three options. A top-down read of the code, choosing each next source file by how fundamental the filename seems. I ...
Drew Dormann's user avatar
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 ...
-2 votes
1 answer
223 views

What should I aware of , when preparing a document of website for later maintenance use? [closed]

The development team has finished a website and my duty is to prepare a document so that other programmers can maintain the website with ease. I have no experience in this and would like to ask what ...
user782104's user avatar
9 votes
9 answers
3k views

What is the way to understand someone else's giant uncommented spaghetti code? [duplicate]

Possible Duplicate: I’ve inherited 200K lines of spaghetti code — what now? I have been recently handled a giant multithreaded program with no comments and have been asked to understand what it ...
Aquarius_Girl's user avatar
2 votes
5 answers
4k views

What is the concept of software wear and tear?

I have heard that over time, software can begin to show signs of wear and tear. What does wear and tear of software mean? Software itself not being a physical entity, so how can there be wear and ...
log N's user avatar
  • 487
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
17 votes
2 answers
2k views

How do people maintain their test suite?

In particular, I'm curious about the following aspects: How do you know that your test cases are wrong (or out-of-date) and needed to be repaired (or discarded)? I mean, even if a test case became ...
Ida's user avatar
  • 789
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
13 votes
9 answers
5k views

Copy-and-Pasted Test Code: How Bad is This?

My current job is mostly writing GUI test code for various applications that we work on. However, I find that I tend to copy and paste a lot of code within tests. The reason for this is that the areas ...
joshin4colours's user avatar
1 vote
5 answers
977 views

"Opportunity" to take over maintenance of a small internal website. What should I do?

I have been offered an "opportunity" to take over maintenance of a small internal website run by my group that provides information about schedules and photos of events the groups done. My manager ...
Dan's user avatar
  • 155
7 votes
1 answer
173 views

Maintenance model for external artifacts

When we think about maintaining a software solution holistically, we have to think about things like non-code change control and configuration management, in addition to the actual source code. For ...
Rex M's user avatar
  • 231
0 votes
4 answers
605 views

What Are Some Tips For Writing A Large Number of Unit Tests? [closed]

I've recently been tasked with testing some COM objects of the desktop app I work on. What this means in practice is writing a large number (>100) unit tests to test different but related methods and ...
joshin4colours's user avatar
4 votes
1 answer
192 views

What is the best approach to getting to know a big system like a CMS or forum system which has no documentation?

My problem is the following; I need to get to know a totally new system, for example Wordpress, Drupal, or a framework like Symfony, or maybe a big forum system like PhpBB. Let's suppose it has no ...
kissgyorgy's user avatar
14 votes
3 answers
1k views

How do you break out of the role of a code maintainer? [closed]

In my last three jobs, I was a code maintainer. In all three cases, I was hired after the majority of the code for the project was already written. I'm a self taught programmer. Before I ever started ...
nbv4's user avatar
  • 1,552
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
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
3 votes
2 answers
119 views

Handling fast growing multi-function services

My team has been developing a web business application for more than a year. It started quite small, but now it is growing bigger and bigger. I think it's time for refactoring. Looking at the code, I ...
Hoàng Long's user avatar
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
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 ...
17 votes
7 answers
9k views

Zero as a constant?

I have come across this programming idiom recently: const float Zero = 0.0; which is then used in comparisons: if (x > Zero) {..} Can anyone explain if this is really any more efficient or ...
NWS's user avatar
  • 1,319
8 votes
2 answers
886 views

How do you call the process of taking a part of a function and making an individual function of it?

I know there was a technical term for this. I'm just can't remember what it was. If the title needs clarification, here is what I mean; If this is the old code: Result foobar(Param1,Param2,Param3) { ...
bitmask's user avatar
  • 879
3 votes
1 answer
148 views

How should I write new code when the old codebase and the environment uses lots of globals in PHP

I'm working in the Wordpress environment which itself heavily relies on globals and the codebase I'm maintaining introduces some more. I want this to change and so I'm trying to think how should I ...
Nicola Peluchetti's user avatar
1 vote
7 answers
3k views

After how much line of code a function should be break down?

While working on existing code base, I usually come across procedures that contain Abusive use of IF and Switch statements. The procedures consist of overwhelming code, which I think require re-...
Sumeet's user avatar
  • 121
5 votes
3 answers
282 views

Bringing in New Architecture During Maintenance on Legacy Systems

I have been tasked with adding some new features to a legacy ASP.NET MVC2 project. The codebase is a disaster and I want to write these new features with some thought behind the implementation and not ...
Mike L.'s user avatar
  • 642
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 ...
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 "...
10 votes
8 answers
2k views

What are some ways to maintain codebases written in two languages that implement the same logic?

I have a logic intensive algorithm that I need to code in two languages (actually I finished it in one language satisfactorily and am about to start coding in the other language). By logic intensive ...
vin's user avatar
  • 374
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 ...
4 votes
5 answers
3k views

Linking in code comments (to other unique anchors/comments)

How would you recommend creating "anchors" in code comments, so that during maintenance, developers can easily cross-reference other code comments. I realise that software should be intelligently ...
Duncan Awerbuck's user avatar
1 vote
2 answers
554 views

initial Class design: access modifiers and no-arg constructors

Context: Student working through Class design in personal/side project for Summer. I've never written anything implemented by others or had to maintain code. Trying to maximize encapsulation and ...
yas's user avatar
  • 183
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
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
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
5 votes
2 answers
711 views

GIS-based data visualization and maintenance tool

Background Looking to leverage an existing GIS system for exploring organizational data. Architecture The following figure represents a high-level overview of the system's desired features: The ...
Dave Jarvis's user avatar
8 votes
4 answers
944 views

Should large or old codebases be expected to be easy to navigate?

I'm an Undergraduate Computer Science Student currently on a placement year at a company that produces and supports a large enterprise web application. I'm loving the experience of seeing how software ...
Hecksa's user avatar
  • 199
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 ...
2 votes
5 answers
877 views

Best practices for App Idea ownership and shares [closed]

I am developing apps on my sparetime. I am the sole developer, and two non-programmer friends of mine provide vision, content, algorithms and ideas. We always agree happily on all the features, todos ...
JOG's user avatar
  • 181
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
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
7 votes
4 answers
776 views

Readability of || statements

On HTML5 Boilerplate they use this code for jQuery: <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script> <script>window.jQuery || document.write('<...
Devin Rhode's user avatar
3 votes
3 answers
645 views

To reorganize code, what to choose between library and service?

I want to reorganize a large application with lot of code duplication into multiple components. Plus, some code is also duplicated over other applications. The common set of functionality that can be ...
essbeev's user avatar
  • 161
1 vote
5 answers
281 views

Facing quality issues

A workforce management software has complex GUI (for example values in a page depends on the status (closed or open) of other pages). Only latest and near past development has test coverage. During ...
juststartedmycareer's user avatar
0 votes
3 answers
354 views

What can I do to make sure my code gets maintained in a developer light environment? [closed]

I am a contract data analyst, so I bounce between jobs every 3-6 months, which I find to be a good fit for me, but it leads to some problems when it comes to coding. I mostly do statistics (I've asked ...
asjohnson's user avatar
  • 476
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
6 votes
4 answers
323 views

Communications regarding maintainability of code [duplicate]

I'm in search of good language or metaphors to discuss the maintainability of code with non-technical folks (PMs, business sponsors &c). In particular, I've recently created a few one-off, get-it-...
Jamie F's user avatar
  • 773
12 votes
4 answers
13k views

Prepare source code handover plan [closed]

Our company is about to acquire a source code of a huge product. What are thing to take into consideration when the handover starts, to make sure we have everything and be capable to maintain that ...
Ahmed Aswani's user avatar