26
nevidev
8y

Boss: Can you refactor some of the code [dev who recently quit] wrote? Y'know, improve the readability a little bit.

Me: Sure thing. *opens project*

Project: *has 76 variables named var2 through var78*

Comments
  • 4
    Reading these rants make me feel like a Microsoft MVP.
  • 3
    wow, he must have hated that job
  • 2
    He was very much a "write spaghetti code for job security" type.
  • 2
    😫🔫
  • 3
    var0 and var1 were cut when he refactored
  • 1
    And one of the others somewhere on the way to 78. :|
  • 2
    One benefit of having a shit short term mem and working on a shit ton of projects is that it taught to write readable code and comment well...for my own sake
  • 1
    did he use 76 variables in the same function or did he just throw everything in the global scope?
  • 1
    All in one function. The others have their own variables I haven't tried to deal with yet. *shudder*
  • 0
    gated code reviews...
  • 1
    The guy could've been a genius. Realizing his talents were wasted on the mundane challenges of programming, he decided to play a game of Memory with variables, to spice things up and exercise his mind.
Add Comment