The DevOps Zone is brought to you in partnership with New Relic. Learn more about the common barriers to DevOps adoption so that you can come up with ways to win over the skeptics and kickstart DevOps.
I make a lot of jokes at work about code review karma. Here's the idea: each time a person volunteers to review others' code, that person build their code review karma. Then, when it comes time for that person's own code to be reviewed, the reviews go smoothly due to the store of code review karma.
Build karma works the same way. When someone jumps in to help fix the build, they're accruing build karma. Thanks to build karma, the builds that kick off from that person's own commits are far more likely to be successful.
If you have a lot of time on your hands, you can actually see software karma all over the place: QA karma by helping out your testers, refactoring karma by cleaning up the scariest bits of the code base, planning karma by leading sprint planning, etc. The more you help, the more the software gods reward you in the future.
I see two explanations behind software karma. The first is that there actually are software gods who sit upon Mount Codelympus and keep a running tally of all these helpful acts. They probably keep this tally in Emacs, since that was clearly not designed for mortals. If there is any truth to this explanation, then let's all quickly sacrifice a 'PHP for Dummies' book to appease them.
The other explanation is less exciting, but slightly more practical. By reviewing others' code, you build a mental model around what great code looks like. When you go to write your own code, you apply your model and reap the rewards immediately. By fixing broken builds, you build a mental model around the build process and how it can go wrong; your own builds are far less likely to go wrong thanks to that model. Same thing goes for helping QA, refactoring, sprint planning, and so forth.
I'm not taking sides on which explanation is correct, since I don't want to get struck by a lightning bolt or incite a plague. All I do know is this: if you want to get better as a developer, boost your karma.
The DevOps Zone is brought to you in partnership with New Relic. Quickly learn how to use Docker and containers in general to create packaged images for easy management, testing, and deployment of software.