in reply to sub-package question

If this is not the case what are intra-file sub-packages good for?

Dividing programs up into separate namespaces. You don't always need it, but sometimes it comes in handy.

Replies are listed 'Best First'.
Re^2: sub-package question
by dragonchild (Archbishop) on Jul 06, 2004 at 19:16 UTC
    The only other benefit I can think of is syntactic sugar. But, that sugar is better solved using factories. *shrugs*

    ------
    We are the carpenters and bricklayers of the Information Age.

    Then there are Damian modules.... *sigh* ... that's not about being less-lazy -- that's about being on some really good drugs -- you know, there is no spoon. - flyingmoose

    I shouldn't have to say this, but any code, unless otherwise stated, is untested