Adam Tornhill: Your Code as a Crime Scene - Episode 194

Published: May 23, 2022, 8 a.m.

Adam Tornhill is a programmer who combines degrees in engineering and psychology. He's the founder of CodeScene where he designs tools for software analysis. He\u2019s also the author of Software Design X-Rays, the best-selling book Your Code as a Crime Scene, Lisp for the Web, and Patterns in C. Adam\u2019s other interests include modern history, music, and martial arts.

\xa0

Topics of Discussion:

[2:10] Adam talks about how he got his start in code metrics 25 years ago and why he\u2019s discovered that it\u2019s so hard to write good code.

[3:48] What are the other book ideas Adam has to add to his existing four?

[4:53] What motivated Adam to write Your Code as a Crime Scene and what is the premise?

[9:02] When assembling the data, relevance, as well as quality, are both important.

[10:29] Cyclomatic complexity is an old metric, as are many others, that is not quite tangible or relevant.

[11:58] Why Adam prefers to look at code health vs. code quality.

[13:26] The process is slightly different when looking at code health for existing code vs. writing new code.

[15:23] How does CodeScene aid in the pull request process?

[18:31] CodeScene integrates with your version control repository and work tracking tools to find where bugs were introduced.

[22:22] Is CodeScene meant to be a standalone tool or can it work alongside many of the other tools on the market?

[24:57] Adam\u2019s rules of thumb for those getting started in software systems.

[28:12] Why Adam\u2019s preferred method of delivering software architecture has changed over the years.

[30:36] What are the steps for implementing CodeScene into a codebase?

\xa0

Mentioned in this Episode:

Architect Tips \u2014 New video podcast!

Azure DevOps

Clear Measure (Sponsor)

.NET DevOps for Azure: A Developer\u2019s Guide to DevOps Architecture the Right Way, by Jeffrey Palermo \u2014 Available on Amazon!

Jeffrey Palermo\u2019s YouTube

Jeffrey Palermo\u2019s Twitter \u2014 Follow to stay informed about future events!

CodeScene \u2014 Free Community Edition

Adam Tornhill on Github

Software Design X-Rays

Your Code as a Crime Scene

Lisp for the Web

Patterns in C

\u201cCode Red: The Business Impact of Code Quality\u201d

\xa0

Want to Learn More?

Visit AzureDevOps.Show for show notes and additional episodes.

\xa0

Quotes:

  • \u201cSoftware development and software code, in particular, are very abstract. There\u2019s no way I can really take a software system and pull it out and turn it around and inspect it for flaws.\u201d \u2014 Adam [6:34]
  • \u201cWhat I\u2019m most interested in is trends; so are we moving in the right direction or the wrong direction?\u201d \u2014 Adam [15:14]
  • \u201cMy experience, from working with all of these companies, is that pull requests and code reviews, in general, are extremely valuable\u2026 but they also tend to become a bottleneck in practice.\u201d \u2014 Adam [16:10]
  • \u201cA surprise is simply one of the most expensive things you can put into a software architecture.\u201d \u2014 Adam [30:15]
  • \u201cWhile these mechanics are simple, information is only good when acted upon.\u201d \u2014 Adam [31:20]

\xa0

Adam: Website | Twitter | LinkedIn