News for hackers. Stuff that matters.
Re:Monorepo – Our Experience by marcosdumay on Wednesday November 06, 2024 @06:02PM (#42070928)
The issue is that you can't "enforce" loose coupling. The causality is reversed here.

Your software artifacts will have loose coupling if you divided them well enough on their creation. As soon as they are created, you can't do anything else to change it, except for joining or splitting them.

Re:Monorepo – Our Experience by eikenberry on Wednesday November 06, 2024 @06:32PM (#42071236)
It's not about enforcement, it's about encouragement and path of least resistance. In monorepos the path of least resistance is tight coupling (unless discouraged in other ways). In 'microrepros' (?) there is added resistance to tight coupling as was presented in the article. This encourages people down the correct path but cannot enforce it (again, as was presented in the article).
Re:Monorepo – Our Experience by MajimasEyepatch on Wednesday November 06, 2024 @09:25PM (#42072656)
It leads people down a different path, but that's not necessarily the correct path. For example, between the lack of discoverability of separate repos and the hurdle of modifying multiple separate repos, teams might be tempted to duplicate functionality and data instead of figuring out the appropriate relationships between services. Some amount of coupling is normal and reasonable. There are ways to manage it well.
Re:Monorepo – Our Experience by ted_dunning on Thursday November 07, 2024 @10:48AM (#42077671)
Coupling happens due to other reasons than poor contracts. The discussions from Hyrum Wright from Google about large-scale refactoring are great in this respect.

https://www.youtube.com/watch?v=TrC6ROeV4GI