Re: Do you currently use namespaces?

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

Never.

Matt Lewis wrote:
>How else would you have solved the problem?

1) An instance of a class does not have this problem.

2) DLL's may have functions with the same name which is resolved in
   the function call declaration by assigning an alias.

Euphoria is not inherently modular because it uses the INCLUDE paradigm.
Other languages use a project file paradigm.

Most functions and variables should not be public and their scope should
be limited to the file they are declared in.

Explicitly public functions and variables should have descriptive names
which are less likely to conflict (but since even then they could, using
classes would still be the solution.)

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

Search



Quick Links

User menu

Not signed in.

Misc Menu