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.

2
votes
3answers
135 views

Struggling vs A Clean rewrite vs extending by overwriting virtual functions

I'm constantly supporting a specialized downloader I wrote 5 years ago! It has to login and download from more then 40 sites. I have kept changing the code over and over as I encountered new sites or ...
7
votes
3answers
200 views

How should support/bugfixes work in a larger organisation?

We have a team of about 40 engineers who work on a large SaaS platform. As with any organisation, we have an enormous backlog of things we want to deliver from our roadmap. But of course, we also have ...
1
vote
1answer
66 views

Upgrading outdated node.js with many dependencies, should it be done incrementally?

If one wishes to upgrade from Node 0.10.48 all the way to the latest LTS version (8.11.2 as of right now) would it be smart to upgrade only to version 0.12.18 first, and then to 4.9.1 and so on? The ...
0
votes
1answer
170 views

Moving 10pm scheduled maintenance date, big deal or not?

The company I work for notifies its (90%+ non-profit) customers ahead of time that there may be a brief outage at 10pm and that their customer websites' ability to edit will be suspended for maybe an ...
4
votes
8answers
695 views

Is code being constantly rewritten and is it therefore pointless to worry about the quality of the early iterations of rewriting code?

In the University one of the lecturers was insisting on a piece of advice I found odd. This lecturer insisted that his pupils do not care too much about decisions like the choice of the programming ...
1
vote
0answers
101 views

Can we break CQS to get some DRY?

In our codebase we have a lot of controllers with a very similar structure: @my_model.update_owner(something) if @my_model.update_attributes(params) return render_object(@my_model) else ...
1
vote
3answers
637 views

Legacy code: what to do in regards to maintenance and moving forward? [duplicate]

I am currently working on an application with legacy code that was built using proof of concepts (POCs). These POCs became the finished production-ready code, there were no tests, and the classes have ...
-1
votes
2answers
118 views

How do you cost in maintenance / updates?

I'm interested in how companies cost in the maintenance of software and or improvement of code quality over time. The context I would like to add, is not that of a company who have a single product ...
0
votes
1answer
129 views

What are best practices to maintain a list in the database in Rails?

I have list boxes and model relationships in the database. I'm doing the following migrations to maintain lists, rename items, and add items: def up Fund.create min: 0, max: 1_000_000 ...
-3
votes
3answers
329 views

how to protect against theft of a class. (neural network class) [duplicate]

I am writing software that makes use of a neural net. What makes my network special as compared to others, is the way I train them. Its non standard, its something that I don't want to give away to ...
0
votes
3answers
273 views

How to safely shutdown API server?

We have an API server, which serves both of our web app and mobile app (both Android, IOS). We have to shut down database servers sometimes for up-gradation or maintenance, so the site shows ...
0
votes
1answer
543 views

How do I structure and maintain a large ASP.Net Core C# Application once it is in Production?

Having used a lot of scripting languages, it's pretty simple to make a change. No compilation necessary. But now I have an ASP.Net C# application. It's small, so I can learn from it, but how do I ...
15
votes
5answers
902 views

Should older code be updated to use newer language constructs, or should outdated constructs be stuck with?

I want to make some enhancements in some still-functional code that was written a long time ago, before the programming language it is written in grew in features. In theory, the whole project uses ...
2
votes
1answer
426 views

How to maintain database script for continuous delievery?

We are working on one legacy framework and it is continuously evolving. Problem 1 : If somebody want to run the application with latest code then he/she spend lots of time in doing so (like somebody ...
1
vote
2answers
117 views

How to create database, tables and stored procedures during installation of application

Our company code base still has some code that will create the database, tables, stored procedures and the like.Coding the SQL stored procedures line by line in Java, in string format is a real pain. ...
4
votes
5answers
594 views

Should I refactor this database? How can I do it?

Firstly, some context. I'm working in a project with more than 10 years of development and without any documentation. My task now is to create a comprehensive documentation for the database (it is a ...
1
vote
1answer
96 views

Overtake the maintenance of a software package

Recently I am using a software package which seems pretty useful, but which I don't understand how it works internally. This package contains software generated by several PhD students and lecturers ...
8
votes
4answers
361 views

Bug clustering in source code

There are many claims about existence of clusters of bugs or defects. A simple search reveals multiple results, for example: 1, 2, 3, 4, 5. However, all the evidence cited is anecdotal and I could ...
13
votes
4answers
675 views

Is there any commonly accepted guidelines about how to write modern C?

I have a strong Java/Groovy background and I've been assigned to a team that maintain quite a big C code base for an administrative software. Some pain points, like dealing with blob in the database ...
4
votes
2answers
466 views

Is maintenance, feedback, or support an integral phase of SDLC?

What makes SDLC a "lifecycle" in the first place? Let's say that a software vendor signed up a contract with a customer who does not require their software to maintained or supported by the vendor. ...
-1
votes
1answer
540 views

Maintain two different versions of similar code [duplicate]

I'm working on a special project where I need to create a new application with a similar but restricted functionality of an original application (basically a type of free application with limited ...
0
votes
1answer
520 views

How to go about upgrading spaghetti code? Is it worth it? [duplicate]

I'm working on medium sized ASP.NET MVC 4 web app, that is about 2.5 years old. Around 25-30k lines of code. The project has never followed any of the good .NET design practices. It is a very tightly ...
0
votes
1answer
143 views

take over an existing (partially finished) Android project [duplicate]

I've been asked to takeover an existing Android project and the developer who was previously working on this project has left many things incomplete and un-solved with some really bad code ...
22
votes
9answers
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 ...
1
vote
2answers
3k views

Mapping enum values into regexes

I'm doing some code cleanup and I'm looking at my regexes. I have an extremely simple one: (ARA|CHI|FRE|GER|ITA|JPN|RUS|SPA)\s[0-9]{3}-[0-9]{2} It basically validates course identifiers for a ...
30
votes
6answers
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 ...
-2
votes
1answer
927 views

Recently moved from Java to JavaScript on Node.js, how to maintain code?

I recently moved from Java to JavaScript on Node.js. I was very excited, opened up my IntelliJ IDE for an existing Node.js project only to find I cannot know what the parameters I see functions ...
2
votes
0answers
155 views

Are there downsides to writing PDO/mysqli statements into my code directly vs using my own redirect wrapper methods?

TL;DR: To access DB functionality in my codebase I currently use a custom layer throughout the code. The layer needs an upgrade in order to begin accepting prepared statements, which it currently ...
5
votes
4answers
148 views

Easily accessible setup files for installation

The software product I work on has several services and user interfaces. There are separate setup files for each unit of the product for installation. We make customer specific changes and bug fixes ...
14
votes
3answers
6k 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, ...
3
votes
2answers
232 views

When rewriting medium to large applications, which of these approaches are useful?

Despite Joel's missive that software rewrites are to be avoided under pain of death, it is still fairly common place. A lot of the existing software is good, but here and there, parts of it niggle, so ...
5
votes
6answers
1k views

Is it an overkill to write unit tests for a small code base? [duplicate]

I am the sole maintainer of a code base of about 2000 lines of code. It's not big, but over time the code became so unmaintainable my boss agreed to give me time to rewrite it from scratch. Since the ...
4
votes
6answers
298 views

Class design, responsibility granulation, efficiency and performance

I am in a design dilemma. I have a set of data that can be interpreted in numerous ways, but I cannot really decide how finely grained should it be. To illustrate it with some simple code: class Base ...
1
vote
1answer
147 views

Should I put stack trace in error files and halt my app with user friendly error [closed]

In my earlier project I wrote an app that is used in-house. My usual practice is to capture errors/exceptions from different classes and threads and put them in different log files corresponding to ...
0
votes
1answer
101 views

Do I need to estimate maintenance software issues? [closed]

The PM of the company I work on, always asks me to estimate maintenance issues and since there are several legacy systems that I didn't build, makes this hard to get. He says getting estimations for ...
1
vote
1answer
308 views

How to make 100k lines of orphan code work [duplicate]

I've recently started to work on an old project, that was originally written by two professors with no programming experience. Those professors left the project before they have finished it. Meaning ...
30
votes
11answers
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 ...
2
votes
3answers
3k views

Explanation of two of Lehman's Laws of Software Evolution

I have a hard time understanding #3 and #8 of Lehman's Laws of Software Evolution. The laws are: (1974) "Self Regulation" — E-type system evolution processes are self-regulating with the ...
1
vote
2answers
343 views

What about source code homogeneity?

As time passes I think that one valuable aspect of maintenable and escalable software is to be homogeneous. The same problem should be solved in the same way everywhere in the application. If there is ...
3
votes
1answer
748 views

How to work with a messy codebase and client [duplicate]

A client came to me with some features he wanted implementing. Easy enough to do what he asked. He paid me, I agreed to start on the start date and finish in 3 weeks. The code base is a disaster. It ...
1
vote
0answers
131 views

Managing interdependent project reference in solution file

Context for question I am working on a legacy product, that has multiple projects - Class libraries, websites, windows services, web services etc.. I have a single solution file that contains all ...
3
votes
2answers
574 views

Code maintenance: Is it better to develop in English or my mother tongue? [duplicate]

Suppose I develop an application for a given company of my own country. Is is better to code in English or with the language of my country ? I mean, if it is better to comment in French and name the ...
0
votes
3answers
2k views

Who fixes bugs in a team? [duplicate]

In an agile software development team, who would be the one to fix the bugs introduced in an update? The developer who writes the feature? Someone else specialized specifically in debugging with a ...
5
votes
5answers
2k views

How are financial organizations planning for the degradation of old programming languages such as COBOL? [closed]

I know that some financial organizations still use "dead" languages such as COBOL. I'm wondering what will happen in the future, when almost no one will program in those languages, and the maintenance ...
4
votes
2answers
924 views

Toggling “maintenance mode” in Java EE app

I've been toying with the idea of feature toggles for various configuration/access purposes, but have been a little unsure of myself when it comes to toggling something like a downtime or maintenance ...
1
vote
0answers
149 views

Code generation vs data driven

While writing a data mapping function (import from csv (using TextFieldParser) to table), I used the sql table structure to generate the boilerplate C# code that creates the datatable and populates it ...
0
votes
2answers
188 views

How can I figure out if another project is mostly maintenance and bugs? [closed]

I started working in a relatively big company that unfortunately has its share of quite a lot of legacy code and I ended up spending an extra ordinary amount of time in maintainance and bug fixes. ...
1
vote
1answer
155 views

How to take over sizable codebase, without having access those who implemented? [duplicate]

I've started a job as mobile lead in a 100employee company. Their Mobile products (iOS and Android) has been developed by external teams, and now they have decided to assemble internal teams, so I'm ...
4
votes
2answers
623 views

What is software maintenance?

I'm a hobbyist programmer, so no professional experience. People here often talk about doing maintenance of software at work. The author of this question talks about doing 90% maintenance and 10% ...
20
votes
4answers
1k 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 ...