DEV Community

Discussion on: What's your worst nightmare as a coder?

Collapse
 
cjbrooks12 profile image
Casey Brooks • Edited
fun someUngodlyMess() {
    // DO NOT REFACTOR
}
Enter fullscreen mode Exit fullscreen mode
Collapse
 
guitarino profile image
Kirill Shestakov

I saw different variants of this, usually:

somethingNobodyCanUnderstand(); // DO NOT CHANGE THIS

I die a little inside when I see this shit

Collapse
 
cathodion profile image
Dustin King

First refactoring would be to remove this comment.

Collapse
 
thehanna profile image
Brian Hanna

Same. You can't put that there and expect me not to touch it. I can't ignore a challenge like that.

Thread Thread
 
jake profile image
Jake Casto

The comment is a warning from someone who tried to refactor.