News for hackers. Stuff that matters.
Re:The Ingredients of a Productive Monorepo by DanielHB on Wednesday May 28, 2025 @06:44AM (#44114600)
My company has been moving towards having monorepos per language stack. Decent compromise
Re:The Ingredients of a Productive Monorepo by amelius on Wednesday May 28, 2025 @07:32AM (#44114840)
This will start to become a problem if the stacks need to communicate with each other using versioned protocols.
Re:The Ingredients of a Productive Monorepo by NiloCK on Wednesday May 28, 2025 @08:27AM (#44115287)
Maybe I miss the point here, but it seems to me that versioning the protocols is the specific solution to maintaining interop between different implementations.
Re:The Ingredients of a Productive Monorepo by lolinder on Wednesday May 28, 2025 @08:41AM (#44115411)
Why can't you just use versioning in your external-to-the-monorepo APIs and use HEAD within the monorepo? Nothing about combining some projects into a monorepo forces you into dropping everything else we know about software release cycles.
Re:The Ingredients of a Productive Monorepo by amelius on Wednesday May 28, 2025 @02:17PM (#44118992)
The point is that it is more work.
Re:The Ingredients of a Productive Monorepo by lolinder on Wednesday May 28, 2025 @03:25PM (#44119757)
More work than what? More work than sharing HEAD in the monorepo, certainly. But it's definitely not more work than versioning across multiple repos because it's literally the same thing. When you're exporting code from a monorepo you follow all the same patterns you would from a small single library repo.
Re:The Ingredients of a Productive Monorepo by Kinrany on Wednesday May 28, 2025 @07:17AM (#44114756)
That sounds worse than either option. At that point put it all in one repo with a directory for each language.
Re:The Ingredients of a Productive Monorepo by jolt42 on Wednesday May 28, 2025 @11:18AM (#44116943)
Coupling and Cohesion likely has nothing to do with the language.
Re:The Ingredients of a Productive Monorepo by aldanor on Wednesday May 28, 2025 @03:24PM (#44119738)
And then at some point your Rust people write a Python module in Rust via pyo3, and it has to be integrated into Python build system and Python type checkers, but also needs local rust crates as build dependencies and local python packages as runtime dependencies... hm.