News for hackers. Stuff that matters.
Re:A Plea for Lean Software (1995) [pdf] by jolux on Wednesday August 05, 2020 @01:55PM (#24063573)
> 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#?

Re:A Plea for Lean Software (1995) [pdf] by pjmlp on Wednesday August 05, 2020 @03:44PM (#24064761)
Not 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.

Re:A Plea for Lean Software (1995) [pdf] by jolux on Thursday August 06, 2020 @09:18AM (#24070579)
Ahhh, neat!
Re:A Plea for Lean Software (1995) [pdf] by kqr on Wednesday August 05, 2020 @03:19PM (#24064464)
Yes, except that still limits you to two consumers.