18
jereme
7y

re·fucked·or
[rəˈfəktˈôr]
VERB
To refactor code into a state much worse than when you started. It is often accompanied by files containing many lines of code, usually with an obscene amount of nesting.

Comments
  • 2
    It turtles all the way down
  • 2
    Clean your code till you don't know what it does anymore.
  • 1
    @rheaditi "This code is hard to follow. I'm going to remove all the interfaces and dependency injection and move all the methods into one file!"
    - A dev I used to work with
  • 2
    @jereme my lead replaces true/false booleans with named constants
    boolean isItDone() {
    if(something)
    return IT_IS_DONE; //true
    else
    return IT_IS_NOT_DONE; //false
    }

    sometimes, it could help. But other times, I wanna kill myself.
Add Comment