As a senior dev, I wanted to pat myself on the back and say
:q
But then I realized that the senior dev way is more like:
1. Look it up on Stack Overflow.
2. Send the Stack Oveflow to the intern and tell intern to do it.
3. Reject the PR because it lacks unit tests.
4. Reject the PR because it didn't account for an obscure case that product usually is concerned about.
5. Reject the PR because it there's a simpler way to do it.
6. Pair program with the intern because they're having trouble.
7. Realize that tests are a bit overkill, the obscure case can't happen, and the complexity is because of trying to make it testable and handling the obscure case.
8. Merge a PR that looks suspiciously like what the intern originally submitted.
9. When QA rejects, send back to QA asking for steps to reproduce (har har).
10. When QA sends back steps to reproduce, send back saying you can't reproduce (har har).
11. Sit with QA and see that the bug exists, because they doing something you didn't think of.
12. Fix the bug, merge the code.
13. When the manager asks you to, create the story in Pivotal and push it through all the states (everything so far happened in Slack).
14. Years later, come across the same problem at a different company, and notice someone `:q` in one of the side comments on Stack Overflow, which was there the last time you looked, you didn't notice it.