[delayed]
Re:Death by a Thousand Microservices
by corethree on Tuesday September 12, 2023 @10:46AM
(#37482117)
What do you mean "sure?" If you said "sure" then you agree it works so why use any strategy that's 100x harder?
I say again, use a folder bro.
Many languages misses that abstraction to make things private in a folder (namespace) hierarchy to outside consumers. This is something I like to see solution to (integrated with your IDE of choice)
You can use folders to decouple code by making code private within that folder. Only publicize parts of the code with your languages version of exporting.
Or you can make it private behind an entire new repo and behind an entire service. Only publicize parts of the code through api interfaces like http and make everything 10x harder for the sake of decoupling code.