Newest Questions

Filter by
Sorted by
Tagged with
2 votes
4 answers
140 views

Is there a reason "replace conditional with table" isn't a standard refactoring?

I'm preparing a lecture where I will start with a many-branched conditional statement and replace it with a table. For example, I could start with: function getMonthName(monthNumber) { if (...
Ellen Spertus's user avatar
-2 votes
2 answers
128 views

Does high quality software really use plain names like `Employee` to describe domain objects?

I am asking because we make games and each domain object most likely has different representations in different layers of the application. You have domain model, you may have some application-level ...
Anton Petrov's user avatar
-2 votes
0 answers
67 views

What should I think about a compiler peculiarity that is not reproducable in simple code, is easily fixed, and probably wont bother me in the future? [closed]

Just a very strange bug: void QSgmlParser::switch_p_LT_EX_EN () { // <!-- comment --> // <!--> --> // <!----> // <!---> --> // <!-- foo --> ...
Anon's user avatar
  • 3,635
2 votes
3 answers
256 views

Handling authorization and authentication with an API gateway

Recently, I’ve found myself designing a microservices system, and I’m currently facing some challenges with authentication and authorization. Context All my microservices will be placed behind an API ...
ikiwq's user avatar
  • 29
-1 votes
0 answers
54 views

How can I handle API requests from a website, mobile app, and third-party apps? [duplicate]

I am designing my application to have a separate backend and frontend. The front ends consist of a website, mobile app, and third-party apps (think Zapier). The website will have full access to the ...
germanshedder's user avatar
4 votes
2 answers
156 views

Managing Growth in Microservice Architecture: Is Modular Monolith the Solution?

Our team of 5 members are managing a microservice architecture that currently includes around 200 Java Spring boot microservices, with approximately 50 new services being added each year. We follow ...
User1254's user avatar
2 votes
3 answers
168 views

How should small but highly requested features be prioritized in technically driven B2B products?

In technically driven B2B products — such as hosting panels, billing systems, or extensible CMS platforms — it’s common for users to request small but high-impact features, like: Custom messages on ...
UnifyBoard's user avatar
1 vote
3 answers
176 views

Design Question - Storing timeseries in a key-value store

I'm looking for a sanity check my thinking around the memory layout of a key-value store. We have a system that periodically polls and monitors on host-level jobs. On every poll, a given job emit can ...
nz_21's user avatar
  • 137
7 votes
4 answers
2k views

Entity Framework - Is there a safety mechanism to prevent accidentally running Update-Database?

When using Entity Framework and running the Update-Database command, non-updated applications that rely on the database crash due to database context changes. Usually teams have a production database ...
EMN's user avatar
  • 573
0 votes
1 answer
116 views

What is the best way to manage git workflows for applications built on top of in progress libraries?

I am doing something I haven't done prior, which is that I built a library (that is still in progress as it is somewhat ambitious), and now I am developing an application on top of the "alpha&...
th hh's user avatar
  • 9
5 votes
3 answers
490 views

How to get rid of Mappers and make objects build themselves?

I am having a really hard time deciding where to instantiate my entities in the refactoring I am making. The project was built with DDD and it's layered: it has the infra, domain and app layers. In ...
Bernardo Benini Fantin's user avatar
0 votes
0 answers
58 views

Extending a complex codebase without breaking things [duplicate]

I have to extend a complex piece software and I wonder if I should make the changes directly "where they belong", or if I should try to not touch existing stuff and "plug-in" the ...
Stefan Woehrer's user avatar
4 votes
1 answer
927 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 ...
Veverke's user avatar
  • 541
2 votes
2 answers
130 views

Test a script reading from external source

I regularly write scripts and small tools that read data from external servers. I am still not sure what is the most efficient and effective way to test them: Probably the most effective way would be ...
J Fabian Meier's user avatar
1 vote
3 answers
174 views

Should HTTP clients be encapsulated in a C#/.NET library?

I have a C# library that contains all the logic to send requests to a remote endpoint, including marshalling/unmarshalling and encrypting/decrypting requests and responses. It contains an HttpClient ...
dan-kli's user avatar
  • 119

15 30 50 per page
1
2 3 4 5
4289