[squeak-dev] How to really make portion of code optional
cdrick
cdrick65 at gmail.com
Sat Aug 16 20:57:49 UTC 2008
Hi,
I'm looking for a way to hide/show portion of code depending on if it's in
development or production mode.
First idea is to wrap the code in question around a global productionMode
var. But I was wondering if there is a better way. Somethink to really hide
these portions of code for efficiency. I know this is not a big deal (for my
project) but I'm quite sure something may exist maybe at the VM level, so
...
Thanks in advance,
Cédrick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20080816/5bd5ac04/attachment.htm
More information about the Squeak-dev
mailing list
|