From the course: Tech Career Skills: Effective Technical Communication

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

Coding standards: Automation

Coding standards: Automation

From the course: Tech Career Skills: Effective Technical Communication

Start my 1-month free trial

Coding standards: Automation

- Code reviews are a great way to enforce coding standards, but the fact that someone's work is being critiqued can easily make it a frustrating experience. If this was a play, we'd have the following parts: the code, the author, the author's ego, the reviewer, and the reviewer's ego. Now imagine trying to bring all of these characters together in the same scene. Chaos could easily ensue. To pull it off though, we need a plan. Just like any good play has a well-written script. A major piece of the puzzle is automation. We want to let machines do as much of the dirty work as possible. I love this diagram from Alex Hill where she shows the different places a comment could fall during a code review. The items in the Low record-High conflict area is where automation is going to help us out. I always feel a bit icky pointing out to someone that there's an extra newline or a missing space after an if statement. With automated checks, that's no longer my job. I can focus on more high reward…

Contents