Y
Hacker News
new
|
ask
|
show
|
jobs
by
kbart
3820 days ago
#if 0 <...> #else <...> #endif
Is a pretty standard way to switch between new/old code while refactoring to check if behavior/output matches. Just change 0 to 1 to switch between "versions".