@t_miniverse This mechanic is awesome!
It would be also cool to add coupling and decoupling from wagons and locomotives to give the shutting yard experience.
@mjovanovictech Honestly, I am getting more and more in favour of a monolith with a very tight constraint than micro services or even a very vertical architecture.
It makes sense to build one of those if the modules/domains are not so entangled and if doesn't use a ORM.
Group your code by feature, not by technical layer. It sounds like a small change. It changes how every change feels.
Here's the old way, the one most of us learned. Horizontal layers. Controllers in one folder, Services in another, Repositories in a third, DTOs in a fourth. Now add a single feature. You touch all four folders for one piece of work, and to understand that feature you go hunting across the whole solution.
Vertical slices flip the grouping.
One feature lives in one folder. A CreateOrder folder holds its endpoint, its command, its handler, and its validator, all sitting right next to each other. GetOrderById is its own folder with its own endpoint, query, and handler. Open the folder and the entire feature is in front of you. No jumping across five layers to follow one request.
The rule of thumb that keeps it clean: organize by feature first, technical layer second. Coupling inside a single feature is fine, that's just the feature holding together. Coupling across features is the thing you actually want to avoid.
You still keep a thin domain project for your entities and an infrastructure folder for shared persistence. But the day-to-day work happens inside one slice at a time.
Try this today: take your next new endpoint and build it as a slice. One folder, everything it needs living inside it. The first time you change that feature and never once leave the folder, you'll get why people don't go back.
Build your next endpoint as a slice before you judge it. If it clicks, repost it for a team still drowning in layers. I'm here posting .NET breakdowns most days, so follow if you want them in your feed.
> Debian is good.
> Arch is good.
> Ubuntu is good.
> Omarchy is good.
> Fedora is good.
> Linux Mint is good.
> openSUSE is good.
> Manjaro is good.
> Pop!_OS is good.
> NixOS is good.
> Gentoo is good.
> Alpine Linux is good.
> Void Linux is good.
> Kali Linux is good.
> elementary OS is good.
How beautiful is this? Choices. A luxury you don’t get with Windows or macOS.
Use what you like. Let others enjoy what they like.
Heard some people like wheels?😁
Humanoid robots are the ideal form of general-purpose robots (perfect for general AI and human-derived data). They can work without wheels — but they can also have wheels if they want. Whatever works.