News for hackers. Stuff that matters.
Re:Benefits of a Monorepo by bluGill on Wednesday May 01, 2019 @08:24AM (#19796418)
It can work either way. There are pros can cons to both ways, code organization needs to be done correctly either way. Nothing about either ensures your code is a good modular structure vs a haphazard mess. In most cases code in fact has a modular structure behind it that is followed - but the structure is not always good (something that is easy to see in hindsight, but the wrong rules were put in place early and now it is hard to change)

Mono repo makes violation of modular rules easier, just link it in - in a complex project odds are nobody will notice. However this doesn't mean monorepo is bad, it just needs that you need to be careful to ensure the rules are written down.

Multi-repo makes violation of those same rules harder - you have to make a bunch of changes to ensure that the bad dependency is in the environment. This hints at the downside of multi-repo: you need to have some sort of dependency management system to ensure that the right version is there when you build.

Re:Benefits of a Monorepo by ivan_gammel on Wednesday May 01, 2019 @11:13AM (#19797771)
Dependency management systems are now a standard thing and they are integrated with CI servers very well - I would not say that the need to use it is a downside.
Re:Benefits of a Monorepo by bluGill on Wednesday May 01, 2019 @01:22PM (#19799422)
Depends on your target environment. Some targets/languages have great eco systems, some do not.