3 ms·
Not long-term, no. Quite often I'll have bits of code commented out while I'm making changes or debugging issues, but I'll make sure that they're removed befor
by scrapheap 4y ago
Not long-term, no. Quite often I'll have bits of code commented out while I'm making changes or debugging issues, but I'll make sure that they're removed before I commit the code.
While I remove the old code, I do sometimes leave a comment explaining why the new code is there, e.g.
# Using a heap sort here as we keep getting data in a order that is pathological for quick sort