• Serdalis@lemmy.world
    link
    fedilink
    arrow-up
    20
    arrow-down
    1
    ·
    12 hours ago

    They are simpler, but they do not scale. Eventually its better to create an internal package repo to share common code, this allows rolling updates a lot easier than a monorepo does.

    Smaller repos are also less stressful for monitoring and deployment tooling and makes granular reporting easier which you will eventually have to do in large projects.

    Simple for small code bases, a pain and a big code smell for large ones.

    • GissaMittJobb@lemmy.ml
      link
      fedilink
      arrow-up
      5
      ·
      9 hours ago

      I mean, with large swaths of big tech companies running monorepos, does this statement really stand up to scrutiny?

      For one data point, Google has >2 billion slocs in their monorepo.

    • majster@lemmy.zip
      link
      fedilink
      English
      arrow-up
      7
      ·
      11 hours ago

      Agree with this explanation. Also in a monorepo it’s much easier to reference code between modules and I think this leads to too much coupled code. It takes more discipline to limit the scope of modules.