I read that it is bad practice to export from an object module.If someone says "bad practice" (or "good practice") they usually voice an opinion. And if the practice includes the words "never" or "always", it usually means they haven't really thought things over.
I happily export constants from object modules. It takes the user of the module not more than 2 keystrokes from preventing any importing anyway, so it's not something that's forced upon the inheriter.
In reply to Re^2: inherit Readonly variables (constants)
by JavaFan
in thread inherit Readonly variables (constants)
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |