Take your comment, compact it, and name your functions. Now test it and remove the comments.

Source: [HackerNoon](https://hackernoon.com/refactoring-011-how-to-replace-comments-with-tests?source=rss)

Sponsored