If we have a namespace and export some thing via some interface. If we allow the client to know if the thing is a variable or a routine then we are exposing the implementation of our namespace.
From a client perspective, the distinction between variable and routine is artificial and is purely an artifact of implemention (of the interface).
Be well,
rir
In reply to Re^5: tie for Perlish, encapsulated objects
by rir
in thread tie for Perlish, encapsulated objects
by Roy Johnson
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |