Skip to main content

Questions tagged [code-reuse]

The use of existing code for creating new software.

-1 votes
2 answers
224 views

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 ...
Joselin Jocklingson's user avatar
0 votes
4 answers
338 views

Let's say that I've been iterating over my feature A with TDD. After several red-green-refactor cycles, I ended up with a nicely polished implementation with a part of the SUT encapsulated into some ...
Maciek Czarnik's user avatar
0 votes
2 answers
152 views

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 ...
Akira's user avatar
  • 257
2 votes
1 answer
135 views

I will get to the question in a minute.... We have 2 in house services that either have an API contract between the 2 that involves an enum or the enum value is stored in a shared database. I don't ...
jdtommy's user avatar
  • 129
0 votes
1 answer
279 views

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 ...
Surya Saini's user avatar
1 vote
1 answer
112 views

My question is focused on CMake C++ projects and separating out code into multiple repositories for re-usability, and somewhat mimicking a naive package management system. For now I would like to ...
nick2225's user avatar
  • 157
19 votes
9 answers
7k views

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 ...
nakiya's user avatar
  • 387
3 votes
5 answers
263 views

At first I had the following logic of user creation: class UserService { constructor(userRepository, postRepository) {} createUser({user}) { this.userRepository.create(user); } } Then I ...
eugenedrvnk's user avatar
5 votes
1 answer
2k views

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 ...
Corbin's user avatar
  • 146
0 votes
1 answer
83 views

There is a software (once monolith) that makes use of a long list of mappers. You can think of them as Choices field, where each item translates into different conventions. For ex, say that they are ...
aws1785's user avatar
0 votes
0 answers
248 views

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 ...
aterbo's user avatar
  • 111
3 votes
2 answers
250 views

I strongly believe that good user stories should articulate the problem to solve and for whom (typically stated as "As a role, in order to solve a problem, we want a suggested solution"), ...
Arnon Axelrod's user avatar
1 vote
1 answer
249 views

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 ...
darthvader124's user avatar
3 votes
1 answer
2k views

Our situation At first, our company had 1 product. Custom hardware with firmware we wrote ourselves. Now more projects are starting to be added. Many can reuse most of the components of our first ...
Kodiak's user avatar
  • 105
0 votes
1 answer
99 views

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 ...
CaptainCodeman's user avatar

15 30 50 per page
1
2 3 4 5
13