[OT] memory management -- was Re: itoa'd you so?

Dave Smith dave at thesmithfam.org
Thu Sep 20 15:57:35 MDT 2007

Levi Pearson wrote:
> If debug is defined as a constant, the code ought to be completely
> eliminated by any reasonable compiler.  Why keep dead code around?
> C-style preprocessing is pretty much the worst possible way to do most
> of the things it does, but at least it does them in a fairly simple
> and consistent manner.

I'm surprised no one has mentioned Aspect Oriented Programming for 
debugging, which to me is a textbook no-brainer application. It operates 
(potentially) directly on the parse tree and should be ideal for 
removing/adding debugging code at build time (or even run time). Is it dead?


More information about the PLUG mailing list