|
|
|
|
|
by sitkack
2494 days ago
|
|
I just realized monorepos are analogous to a flat network, everything can reach everything else, or that main memory is flat/linear/same cost for each read/write (not true, but it is the abstraction we believe). I now believe that monorepos can only work well when there is a mechanical tool for ensuring correctness and that refactorings can be done atomically across the whole tree. Infact, it might be necessary to _only_ commit the refactoring operation to the tree and the source itself. That the whole tree is a blockchain of tree edit operations. |
|
Isn't a compiler such a tool? I use a statically typed language, and if I would try to do this:
> everything can reach everything else
then there'll be compilation errors.