Questions tagged [code-reuse]
The use of existing code for creating new software.
186 questions
-1 votes
2 answers
224 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 ...
0 votes
2 answers
152 views
Resolving dependencies independently of the IoC container
I'm working on a component, let's call it MyComponent, which is intended to be used by various applications. These applications will get MyComponent as a NuGet package for instance. Assume that ...
0 votes
1 answer
278 views
How to deal with very complex codebase? [duplicate]
I recently changed my job to a big MNC and the code I am exposed to is highly complicated, difficult to read and understand. Although it is divided in microservices and runs on local I have to keep ...
19 votes
9 answers
7k views
Why should we reuse code as binary modules instead of copy/pasting?
So this is a basic question that was asked by a junior developer (not in these exact words). He had worked on a feature which was used in multiple projects. The main feature can be easily isolated and ...
5 votes
1 answer
2k views
Does a programming language with ML-style modules need packages?
This is a clarification of a closed question. I've limited the scope as requested. First, a few definitions, following e.g. A modular module system. Consider any programming language with a selected ...
0 votes
0 answers
246 views
SQL Database design for reusable components and classes
I am working on a small suite of enterprise applications, and I am trying to determine the best way to make them more consistent and maintainable across the board. The applications are .Net Blazer ...
1 vote
1 answer
247 views
How to maintain well structured code and latency optimized code together?
I'm working on a c++ data analysis project. My workflow goes like this Analyze the data and build models Optimize the code for latency, to deploy for production goto 1 Step 1 has lots of machine ...
0 votes
1 answer
99 views
How to manage versioning in interdependent libraries?
I have a number of libraries that I have developed for various projects, e.g. a web server, some computation tools, some logging tools, etc. These reside in different parts of my drive. When I have a ...