Questions tagged [maintainability]
system quality aspect characterizing the ease of software maintenance
145 questions
0
votes
2
answers
265
views
How to catch up with a fast evolving codebase with AI First Software development?
After a couple of months using AI tools for programming, and improving how to do it, I started feeling a bit left behind in my codebase. Hence came back to Stackoverflow :)
Like I manage to do a half ...
4
votes
1
answer
1k
views
CA-1822: Mark members as static Roslyn recommendation will not unnecessarily increase memory consumption?
My job uses SonarQube as part of the CI/CD quality gate. One of the "Maintainability" issues (severity: medium) raised is the CA-1822: Mark members as static.
The link explains the added ...
7
votes
4
answers
1k
views
What could be a good pattern for a code base that does a lot of A/B testing?
I develop in an environment where we tend to do a lot of A/B testing. I am curious to learn from others on how A/B testing code is managed in your code base?
Do you mix your A/B testing code with ...
0
votes
2
answers
242
views
Best thing to do by private developers in case of impending death or plans to cease development on a personal private project
Suppose I have a personal private code project.
What should the developer do with the code in case of impending death or plans to cease development on their personal private project.
Suppose, they do ...
7
votes
9
answers
2k
views
What are the techniques for keeping the code quality high when requirements change?
Whenever I write a piece of functionality from scratch, it's a good and robust code.
But often times my assumptions about how the code should work evolve over time. After I reflect those changes in ...
3
votes
1
answer
1k
views
How to (or should I) refactor RxJS nested subscriptions with intermediate return value?
I hope this fits more here than SO because it is mostly about code design than making it work. Also, this is not tied to RxJs, but more to the reactive paradigm. (TypeScript tag is only added to make ...
6
votes
2
answers
332
views
What time horizon and level of abstraction is the right for the maintainable and evolvable software? [closed]
From time to time I feel exhausted in my software development efforts because I am pressed to think and develop in a very specific and very short-term manner. One client here and now requires one ...
2
votes
2
answers
455
views
In unit testing: How to abstract a dependency of subject under test?
Disclaimer: I am learning unit testing. I am also kind of beginner in object-oriented design.
Currently, I am involved in the development of an application to manage the finance of a humble food ...
7
votes
6
answers
614
views
Is there a software quality metric related to side effects?
In large systems there are often code paths that modify state or produce side effects that other code comes to depend on. This makes it hard to safely change code without understanding the whole ...
2
votes
2
answers
540
views
Game Systems Interaction Design
Intro
I'm writing an FPS game in c++. There is a timed game mode, players run around a map shoot from a variety of weapons which are either hitscan or projectile based, when a shot connects, based on ...
2
votes
1
answer
275
views
How to increase maintainability in CI/CD pipelines
We have an issue of maintainability for our pipelines at the organization where I work, whereby making a change and ensuring the change is tested and bug-free for our customers (other developers in ...
1
vote
3
answers
736
views
Java design approach for "duplicated" class that are identical, except the import sources are different
So I have two identical classes, say ClassA and ClassB. In both classes, they operate on the same kind of data classes, and the method bodies are exactly the same. The only difference is that the ...
3
votes
3
answers
619
views
Is there an approach to keep a large number of conditionals maintainable
I work on a survey that has a lot of questions. This means we have a lot of columns/variables to work with. This translates to a lot of conditionals that have to be done a certain way according to a ...
4
votes
5
answers
715
views
Practices for navigating and changing "long" code files?
Many a times I have to deal with code files which are quite long - about 5 screen pages at the minimum. Almost always there is something towards the top/bottom that I need to refer when I'm at the ...
1
vote
2
answers
442
views
Maintainably converting flowchart ideas to an architecture
My team is communicating proposals for the interaction of several processes as a flowchart. I've been drafting a codebase architecture we can use as a starting point. There are two ways intended ...