3 ms·
> For example, the same package can have a public interface for in-house consume that is wider than the official public interface for third parties. Isn’t this
by jolux 6y ago
> For example, the same package can have a public interface for in-house consume that is wider than the official public interface for third parties.
Isn’t this similar to package private in Java or internal in C#?
- pjmlp 6y agoNot really, because the interface is separate from the implementation and you can provide multiple interface packages for the same implementation package. So client A sees mylib-public-A, client B sees mylib-public-B, but both link to the same mylib so to speak.
- jolux 6y agoAhhh, neat!
- deleted 6y ago[deleted]
- kqr 6y agoYes, except that still limits you to two consumers.