Most active questions
39 questions from the last 30 days
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?
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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, ...
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....
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 ...
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 ...