Hi

It also gives an idea of what I mean by context.

I can't honestly see how using namespaces to provide context helps any, or is any different from Hungarian notation?

Surely writing

FileManager::length

doesn't help clarify length's data type, and even if we suppose it was
enough, isn't prepending FileManager:: on the front as bad as a simple dw
for DWORD?

No, because FileManager tells you that the class/function/variable/whatever belongs to the FileManager application. dw tells you that the name refers to a type. The type is far more likely to change than that the application. However, this is still a very narrow view.


The difference is that one conveys context (or domain) information the other conveys type information.

Regards
Paul

Paul Grenyer
email: [EMAIL PROTECTED]
web: http://www.paulgrenyer.co.uk
Elephant: http://www.paulgrenyer.dyndns.org/elephant/

"15 miles to the love shack...."


_______________________________________________ msvc mailing list [email protected] See http://beginthread.com/mailman/listinfo/msvc_beginthread.com for subscription changes, and list archive.

Reply via email to