4 ms·
Out of curiosity: What are the positive reasons in having commented out code?
by jon2512chua 12y ago
Out of curiosity: What are the positive reasons in having commented out code?
- hcarvalhoalves 12y agoSometimes just the presence of code triggers a bug because of dynamic dispatching / whatever, and a hotfix is necessary. You could remove, but then later programmers wouldn't have context to fix the bug properly. # TODO: Figure out why do_foo is triggering a bug # http://my-company.org/issues/42 # def do_foo(self): # ...