Questions tagged [maintainability]

Maintainability refers to the nature, methods, theory and art of maximizing the ease with which an asset may be sustained, modified or enhanced throughout the duration of its expected useful life.

306 questions
1
vote
4 answers

Regenerating Querying Database

The site that I own has a simple CQRS architecture that is working well. An event is published and picked up by various subscribers, one of which keeps the reporting database in sync [in RavenDb]. Say, for example, my reporting database is…
sjhuk
  • 313
  • 2
  • 7
1
vote
3 answers

How does relying on type inference affect code maintainability?

Although the examples in this question are in Visual Basic.NET and Java, it's possible that the topic may also apply to other languages that implement type inference. Up until now, I've only used type inference when using LINQ in VB.NET. However,…
Amr Bekhit
  • 4,613
  • 8
  • 34
  • 56
0
votes
1 answer

What books/websites should i read to learn to write readable and maintainable C code?

Possible Duplicate: The Definitive C Book Guide and List Good open source code for C++ I started learning C++ over 2 years ago. Since then, i went back and learned C, among other programming languages, but C is my favorite. While looking at…
metl wolf
  • 91
  • 1
  • 9
0
votes
1 answer

What is the ideal way to call an overloaded method based on an object that may be of one of several different types?

For my WPF view, I have several objects that implement a single interface for display purposes. When one is selected, I want to call a certain method based on the type and options chosen on the view. I already have Overloads available for each type…
tylerjgarland
  • 643
  • 6
  • 19
0
votes
1 answer

Program to scan to code files for diffrences?

Is there any program that will scan two code files, compare, and show you what is different between them. I need such a system as I am building a website using plugins that are regularly updated, however I need to edit the plugins to provide some of…
Tom
  • 141
  • 1
  • 10
0
votes
8 answers

Is it possible to maintain a 43 page query?

I always thought an SQL compiler would break but apparently nesing can nearly be infinite. Is this code to be trashed immediately or is there some glimmer of hope that something like this can function? This query doesn't really belong to me so I…
ojblass
  • 21,146
  • 22
  • 83
  • 132
0
votes
2 answers

WPF: Can styles be used to format a user control for two different scenarios?

I need to show a similar-looking dialog in two different places in my application, one place as a modal dialog box and one place embedded into another menu. From my limited understanding of WPF, it looks like Styles would allow me to write a single…
Locksleyu
  • 5,192
  • 8
  • 52
  • 77
0
votes
0 answers

How is proper way to repiar npm vulnarabilities in project?

How fixes the npm audit warnings npm warnings. How is the best practice to repiar this? I'm new in programming and this is my first question please understand and reply in detail :) I trying npm audit fix --force but after this I have more warnings…
0
votes
0 answers

What is the best way to connect an Objects attributes to how I would describe those attributes to a user?

I'm writing an app where I calculate a value based on user input. I store that user input in a Profile object. To make it easier to manage UI, I also am writing a JSON file to programmatically display the input for each attribute. Here is an…
Ethan Leyden
  • 192
  • 2
  • 14
0
votes
0 answers

Python: Should I save PyPi packages offline as a backup?

My Python projects heavily depends on PyPi packages. I want to make sure that: in any time in the future: the packages required by my apps will always be available online on PyPi. For example:- I found a project on Github that requires PyQt4. when I…
ibrahem
  • 370
  • 3
  • 12
0
votes
1 answer

How we can achieve writing reusable and modular code

How we can achieve writing reusable and modular code in an Enterprise code. What are the basics to get started
0
votes
1 answer

How to maintain Composite Pattern efficiency with increasing components?

I am currently writing some code in C# and have decided, at one point, that for my specific case a composite pattern will be useful. However, there is clearly a performance problem in my code once I start making a composite of multiple components. I…
0
votes
1 answer

Prevent improper use of a User Defined Data Structure and Making DS resuable

Objective: Define a Priority Queue Implemented with a Max Heap Provide as much type safety as possible and provide an implementation that is flexible/reusable (even though python is dynamic and only type safety is hinting) I have looked over…
MPC
  • 13
  • 1
  • 3
0
votes
1 answer

Multi language apps into one - best strategy

I created a mobile game for kids several years ago. I did 10 language versions. Each exists as a different app in Apple and Google Play. Now Apple rejects one of the upgrades - they say it is spam. OK, I build a new release with all 10 languages in…
0
votes
0 answers

Best practices for creating a customized report based on user form input?

My Question What are the best practices for creating a customized report based on a user form input? Specifically, how do I create an easy to maintain system which takes user input which is collected in a form and generate multiple paragraphs that…
AzJ
  • 199
  • 1
  • 11