3 ms·
> It's sometimes useful to preserve commented out code just because it represents some idea. Then put a fucking comment saying this: "this commented out code b
by knocte 11y ago
> It's sometimes useful to preserve commented out code just because it represents some idea.
Then put a fucking comment saying this: "this commented out code below is to preserve idea FOO". Leaving commented out code without a real comment is just showing how unprofessional you are (or how you want to keep your job by trying to keep a knowledge-silo in your head).
- js8 11y agoI don't disagree with that, it's exactly what I would do, and it's shown in the example in the article, too.