Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API

From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
retoor93291dWell, that's a very good point but it's kinda the monolith vs microservice discussion. I prefer monoliths. If you split up everything completely on module level using it's interface, it's kinda schizophrenic behavior. I think it's considered professional to make everything isolated. But if you write code according to "the book" you'll never finish anything.
-
hjk101561722h@retoor this is not monolith vs microservice. A module != service.
The Linux kernel for example is a famous modular monolith.
Also a microservice architecture is an organisational (people and teams) solution not a code organisation solution. It's a Conway's law thing. -
BordedDev207121hMain reason is that you can group concepts, but being strict about "independent" can be a bit much IMO
-
Lensflare1983017h@BordedDev yeah I‘m not even sure what it is trying to group. According to the names of the modules, it‘s a wild mix of UI vs. non UI and thematic/feature based grouping.
But, as I said, each module has everything anyways.
UI module has a lot of logic, logic module has a lot of ui, a particular feature module has a lot of other code related to features from the other modules. -
BordedDev207115h@Lensflare sure, but that's fine if you're grouping by business concept for example
Related Rants
What‘s the purpose of separating your code into "independent" modules if each module contains everything anyways?
rant
modules
dafuq are you doing
separation