News for hackers. Stuff that matters.
Re:Why Google Stores Billions of Lines of Code in a Single R... by zhengyi13 on Sunday February 12, 2023 @06:02PM (#34768090)
> It encourages poor API contracts because it lets anyone import any code in any service arbitrarily.

Perhaps that might be the default case, but the build system has a visibility system[1] that means that you can carefully control who depends on what parts of your code.

Separately, while some might build against your code directly, a lot of code just gets built into services, and then folk write their code against your published API, i.e. your protobuf specification.

[1]: https://bazel.build/concepts/visibility

There are no comments on this comment yet.