Discover how to optimize your DevOps workflows with our cloud-based automated testing infrastructure, brought to you in partnership with Sauce Labs.
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.
Download “The DevOps Journey - From Waterfall to Continuous Delivery” to learn learn about the importance of integrating automated testing into the DevOps workflow, brought to you in partnership with Sauce Labs.