Re: Question about doc style

new topic     » goto parent     » topic index » view thread      » older message » newer message
irv said...

I notice that in many (most?) of the docs, an example is given like the following:

include std/console.e  
namespace console  

Secondly, "we" know that the second line is just reminding us that a namespace has already been assigned to std/console.e (don't we?).

As I understand it, the second line is a brand new namespace applying to this file, whereas

include std/console.e as console 

would be the one that (needlessly) replicates the existing namespace already defined within std/console.e.

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

Search



Quick Links

User menu

Not signed in.

Misc Menu