"Steven Schveighoffer" wrote in message news:m2avtc$15e3$1...@digitalmars.com...

This is a good point. Enabling debug on a specific feature/module in a complex build system is not easy. For someone simply typing dmd *.d, this is trivial, but not if you have to go edit a makefile, or try to figure out how to pass arguments to it (I need to look that up every time).

Exactly.

I think there is a problem though. What if you leave your debug in by accident? Now your pure code isn't so pure, and you have no idea.

What if you leave any other form of debug code enabled by accident? The answer is to use version control, and make a quick pass over changes before you commit.

Reply via email to