You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's my experience that code that is commented out rots on the vine as it fails to keep up with changes elsewhere. It's marginally better to use #if 0/#endif to prevent the compiler from building it, since then you get at least some basic syntax checking from your IDE, but it's actually better still to either delete things that are no longer wanted (git preserves them in the commit history; you don't lose them!) or to make them actually live code.
Pick an option and tidy things up:
Different comment-out style
Delete outdated code
Bring code back into service
The text was updated successfully, but these errors were encountered:
It's my experience that code that is commented out rots on the vine as it fails to keep up with changes elsewhere. It's marginally better to use
#if 0
/#endif
to prevent the compiler from building it, since then you get at least some basic syntax checking from your IDE, but it's actually better still to either delete things that are no longer wanted (git preserves them in the commit history; you don't lose them!) or to make them actually live code.Pick an option and tidy things up:
The text was updated successfully, but these errors were encountered: