3 ms·
I use a technique I call "runtime comments": if false { ... stuff I don't want to run right now but the compiler still has to deal with it ... }
by pravus 3y ago
I use a technique I call "runtime comments":
if false {
... stuff I don't want to run right now but the compiler still has to deal with it ...
}
- j1elo 3y agoWell, for that specific case (it was a well defined block that could be all selected and commented out in order to disable it), your technique would have worked fine, true :) But of course it can get tiring and not be very practical if the logic to disable is a little bit more spread out (I'd say having to "if false" anything more than 2 paragraphs or blocks of code would already start to feel annoying)