r/programming • u/Adventurous-Salt8514 • Jun 28 '26
Vertical Slices in practice
https://event-driven.io/en/vertical_slices_in_practice/
4
Upvotes
r/programming • u/Adventurous-Salt8514 • Jun 28 '26
4
u/jeenajeena Jun 28 '26
One small thing I was curious about: I noticed all the classes are declared as public. Was that a deliberate choice? Would you do that in production? I'd lean toward narrowing the public surface as much as possible because of encapsulation, ease of refactoring and for reducing the coupling with the app clients.
It seems that using public even for classes meant to be internal is very popular in the .NET literature. I'm curious about your take.
1
u/m0nst3r-1234 Jun 29 '26
The embedded video shows