Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

How many people are in your organization?


People seem to conflate a monorepo with having everything else the same as well, just because that's how Google and other BigCos do it. You don't have to.

At some level a monorepo is just a way to stick all your code in one giant directory and manage it all under one VCS repository.

You could still do separate build tools per project, separate vendoring if you really wanted and so on.

However you may find that being able to simply import other first party code by path instead of doing some cross repo dependency process is a massive win.

Edit: apologies, this was meant to be a reply to the top level comment.


> However you may find that being able to simply import other first party code by path instead of doing some cross repo dependency process is a massive win.

I don't quite get the benefits of "depending by path".

The engineering seems huge, you now have to create a magic meta build and testing system so that only individual components that changed are rebuilt/tested. That seems like a scaling nightmare at best.

Also, dependency management is hardly an issue on most modern stacks anyway. Javascript, rust, python, etc, all have private package hosting tools that are trivial to deploy.


Import by path for monorepo is an anti pattern. It is exactly what another gp complained about: turning monorepo into soft dependant monolith.

https://news.ycombinator.com/item?id=34048245




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: