Code fails with linker error. Why?

ketmar via Digitalmars-d-learn digitalmars-d-learn at puremagic.com
Sat Oct 4 23:21:29 PDT 2014


On Sat, 04 Oct 2014 16:52:08 +0000
John Colvin via Digitalmars-d-learn <digitalmars-d-learn at puremagic.com>
wrote:

> It is a little noisy, but really very little. The only extra 
> noise is the call to Afoo.
it's "very little" turns to "alot" with alot of classes with alot of
methods. and code readability suffers even from one such hack.

> Namespace pollution? In what way would that cause a problem here?
all this AFoo, BFoo, CFoo, XYZFoo are useless. all they do is polluting
namespace, making debug info bigger and processing debug info slower.
each unnecessary thing that computer must process is... well,
unnecessary. ;-) i'm doing some tricks with debug info -- such as live
code instrumentation, and i hate all that 'proxies'. ;-) i again must
write code to deal with things that compiler should deal with.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <http://lists.puremagic.com/pipermail/digitalmars-d-learn/attachments/20141005/797b0791/attachment.sig>


More information about the Digitalmars-d-learn mailing list