It has come up here in a different discussion, but I think it should be a separate idea, so here it is!
If we disable part of the code using the diagram disable structure, the disabled code gets lighter in color. The new compiler is good at eliminating dead code (i.e. things that don't need to be computed because there is no output), so it could be useful if these code parts are also bleached in a similar way to indicate that fact.
Here's how it could look like.
I would even suggest this to be enabled by default. Of course there also needs to be an option to turn it off....
(I was about to write up this idea, but then, searching for "dead code", I found comment by SynchronizationOverhead. So the original credit goes there, of course ;))
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.