|Keep It Simple, Stupid|
Re: Namespaces contiguous in the entiretyby adrianh (Chancellor)
|on Sep 28, 2005 at 08:58 UTC||Need Help??|
do other people see value in such a constraint?
I regularly have multiple packages in a single file and don't see it as a problem. If the package is small, and isn't part of a public API, then splitting it out to a separate file is often a waste of time.
Package declarations are lexically scoped for a reason :-)
Have multiple package declarations caused you problems in the past?
Update: Bah. Ignore me. Misread the original node.
I'd still ask whether multiple declarations of the same package have been causing problems? Personally I cannot recall an instance of this causing problems so would question the utility of such warnings.