News for hackers. Stuff that matters.
Re:Monorepos by StavrosK on Saturday August 29, 2015 @10:04AM (#10140015)
> It enables organization-wide refactoring.

How do you mean? If I refactor the backend, for example, an iOS dev still needs to come in and refactor the iOS app, so the refactoring still happens independently.

> It facilitates code sharing.

That's handy if many or your projects are in the same language, true. That generally didn't hold for the projects I've worked on.

> It provides easy access to examples of how code should be used.

True, but that's mostly the same as having a GitLab instance (or similar) installed.

> You don't deploy source, you deploy packages.

Sounds like I just have different needs, in my area of development (Python server backends) the source is the package.

Re:Monorepos by bhickey on Saturday August 29, 2015 @10:18AM (#10140051)
> How do you mean? ... so the refactoring still happens independently.

Not all refactors modify APIs, and even some that do can be programmatically applied. Suppose you've deprecated method Foo(..) and have a replacement Bar(..). With access to all the source, you can change things globally, it's great. One funny programming 'mistake' that creeps into code that's been around a while is dodgy looking ternary operators:

    return (foo ? true : false)
    return (foo ? false : true)
With a few minute's work, one engineer can metamorphose all of these into:

    return foo;
    return !foo;
> That's handy if many or your projects are in the same language, true.

My day to day work is almost exclusively C++. Thousands of other engineers are in the same boat as me. We all benefit from a fabulous tools team.