Clean Your Own Code
This time, you have to refine a file of your recently work into a cleaner one.
- Please use your recent work.
- There's always something can be better, according to the book.
Leave the links of your original code (before refactoring) and your updated code (after refactoring) as comment below. GitHub Gist can be your friend.
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.