Commented code is harmful
October 10, 2019
Even if a piece of code is commented, itβs still in the middle of actual code. This is unnecessary noise for the reader.

If I tell you NOT to think about an elephant, you have to first build the mental representation of an elephant π, before trying to not think about it βοΈπ.
This is exactly the same thing happening when you have to go through commented code. But way more frustrating.
Donβt worry about loosing your code. Version control systems exist since the 70s. Have you heard about git ?