3 ms·
The best code to delete is when someone was cargo cult programming and put code in that doesn’t do anything or is completely unnecessary in some way.
by eddieh 8y ago
The best code to delete is when someone was cargo cult programming and put code in that doesn’t do anything or is completely unnecessary in some way.
- pureliquidhw 8y agoJust be careful before ripping out too much! https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence https://en.wikipedia.org/wiki/Wikipedia:Chesterton%27s_fence
- eddieh 8y agoYup, that is a risk. I had an issue once where the person transcribed the wrong bug ID in a comment above a piece of code that appeared as though it was meaningless. I was able to catch the error and put the correct bug ID in and a more assertive comment describing why the code was needed. Long story short, always comment weird shit and use the correct bug ID.