Clean Your Own Code

Welcome!

This time, you have to refine a file of your recently work into a cleaner one.

Notice

  • Please use your recent work.
  • There's always something can be better, according to the book.

Submit

Leave the links of your original code (before refactoring) and your updated code (after refactoring) as comment below. GitHub Gist can be your friend.

Score

No, we don't score you. But, all the work will be reviewed by others and be discussed in the next sharing session. Don't be shy, and please comment on others' work if you have any suggestion/idea.