Re: Do you currently use namespaces?

new topic     » goto parent     » topic index » view thread      » older message » newer message

Matt Lewis wrote:
> ken mortenson wrote:
> > Including fileA and fileB twice is only a little bit of nails on the 
> > chalkboard for me, but I can get past that because the language allows it.
> 
> It's not a matter of including it twice.  His point was that your code should
> include what it needs.  Your statement is actually the antithesis of modular
> programming, IMHO.  Each module should explicitly declare its dependencies.
> Euphoria has never required this, though it will at least generate a 
> warning in 4.0.

I was being a bit too flip here.  I think I was getting a bit punchy from
responding to everybody.  I really didn't expect it to be so controversial
when I say that includes don't encourage modular programming.

To me this is self evident.  Apparently not to others.  I did see his point.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu