4 ms·
I think the point is that the developer should stash it or use a branch or something, instead of having code in master that never runs. The technique itself is
by dreen 13y ago
I think the point is that the developer should stash it or use a branch or something, instead of having code in master that never runs.
The technique itself is useful for debugging, but not much else.
- chris_wot 13y agoYeah, but it does tend to highlight to anyone reading the code that this code should work, but to look at the comment before the if statement. I'd very rarely use this sort of thing, but in this case I'd say it's OK.