Boring boilerplate and debug information?" And once you start putting all that boilerplate and debug information into the repository you realize that you really are not even making progress. You're just turning your eyes away from the issue and asking yourself, "Why do I have to put this in the repository?"
So if we really want to fix that, it's as easy as refactoring the simple snippet that you just wrote.
What we're going to do is we're going to refactor the boilerplate you just wrote. We'll remove some of the redundant bits, and we'll turn that into a proper method reference.*