Most active questions

20 votes
5 answers
4k views

Why should I never ever ever use Java serialization?

I've heard that I should never use Java serialization (Serializable/ObjectInputStream/ObjectOutputStream) because of security. What's the problem?
Stack Exchange Broke The Law's user avatar
10 votes
5 answers
2k views

Naming app entities after DB tables

Our app is marred by some really, really horrible naming decisions. It's largely because the team is Russian-speaking and not everyone knows English. For example, we have a table called POLICE that ...
Sergey Zolotarev's user avatar
12 votes
4 answers
2k views

Is the separation of a database process from the main backend process really "good practice"?

In our current architecture, we have a React frontend communicating with a Rust backend via REST calls. We are considering introducing a PostgreSQL database, and my colleague suggests that we should ...
0968FC1F126E85E51FBF0B43D0B02D's user avatar
6 votes
7 answers
1k views

How can you predict with any accuracy the number of hours needed to develop an app

I'm a university student, but I don't come from an engineering or programming background. I'm doing an academic assignment where I need to estimate how long it would take to develop a website for a ...
David Costa's user avatar
2 votes
2 answers
2k views

Refactoring a legacy codebase with a god Repository and incomplete Clean Architecture

I'm currently working on a large legacy project that tried to implement Clean Architecture combined with MVVM, but unfortunately didn't fully adhere to the principles. One major problem: The ...
developKinberg's user avatar
5 votes
4 answers
462 views

Is this too much for a modular monolith system? [closed]

A little background before I ask my questions. I've designed a system as an architect based on the requirements given to me by the client. The client has a team or two to three developers which are ...
Simple Fellow's user avatar
5 votes
2 answers
983 views

Repository and Service Interfaces in an Accounting Software in Go with Uncle Bob's Clean Architecture

I'm trying to get hands-on experience with Uncle Bob's Clean Architecture in Go, but I'm running into some issues. Also, I'm not yet familiar with all of Go's idioms. For testing purposes, I'm ...
Crite's user avatar
  • 61
4 votes
5 answers
460 views

Should code reviewers reproduce the problem/solution as part of the code review?

Boss in upper management is demanding to know why code reviewers are attempting to reproduce the problem & solution (in the case of defects) and solution (in the case of features) for reasons of ...
Wes's user avatar
  • 335
5 votes
2 answers
130 views

Modeling invariants that requires data from multiple aggregates

I want to model the organizations and users using DDD. I have the following aggregate roots: Users Can join multiple organizations Can join at most 100 organizations Can only be deleted when it is ...
F21's user avatar
  • 159
6 votes
2 answers
450 views

what is the term for a integer variable containing bit fields

If I have a variable that is intended to to be used with bitmasks, to retrieve values, i.e. bit fields and flags, what is the academic term for such a variable? If the (bit) fields are a analogous to ...
The Fool's user avatar
  • 192
1 vote
5 answers
336 views

All git branches in one directory, or one directory per branch. Any technical reason?

We are a recently formed embedded software team, having a minor religious war. Please note that we all work multiple tickets at a time, so will always each of us have multiple branches. Some prefer to ...
Mawg's user avatar
  • 4,287
1 vote
2 answers
230 views

Should you ever have one-to-one relationships between entities?

One-to-one relationships occasionally evolve into one-to-many relationships. Once that happens, your team has a tricky job of refactoring the datastore, the backend to allow that change. For example, ...
Sergey Zolotarev's user avatar
1 vote
1 answer
278 views

Is a "dynamically-linked executable" ever referred to as that?

Example When I run file on android-studio/bin/studio, I see: android-studio/bin/studio: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64....
RokeJulianLockhart's user avatar
0 votes
5 answers
264 views

Simulating different times of day when running integration tests, .NET/XUnit

I work on an organization's internal .NET Core 8 application where various dates are stored in different canonical formats, and some comparisons (checking that the current moment falls between a data ...
Green Grasso Holm's user avatar
2 votes
1 answer
125 views

Should I split endpoints by parameter requirements?

Preface: This will not be available publicly or to third parties, so I am not concerned about users having the background knowledge to properly form GET requests. These are also not only analytical ...
Austin's user avatar
  • 131

15 30 50 per page