Tech Lead Journal

#56 - Refactoring–The Discipline for Writing Good Code - Christian Clausen


Listen Later

“Good code should be resilient to bugs. It should make it easier to do the changes that you want to the system. Some refactoring could make it harder to make changes. So, if you guess wrongly the direction of the software, then it can have a negative effect."

Christian Clausen is a Technical Agile Coach specializing in teaching teams on how to refactor their code properly. He is also the author of “Five Lines of Code”. In this episode, Christian explained in-depth about refactoring, when and how we should do refactoring, the components, workflow, and pillars of refactoring. Christian also shared about a few important architectural refactoring, such as composition over inheritance and changing by addition instead of modification. Finally, Christian also shared a few tips for writing quality software, such as the five lines of code rule, the habit of deleting code, and avoiding optimization and generality.

Listen out for:

  • Career Journey - [00:04:20]
  • Refactoring & Good Code - [00:06:58]
  • Refactoring & Testing - [00:10:07]
  • Components of Refactoring - [00:14:36]
  • Advice to Start Refactoring - [00:16:17]
  • Refactoring Workflow - [00:18:21]
  • Pillars of Refactoring - [00:22:07]
  • Five Lines of Code - [00:25:51]
  • Composition Over Inheritance - [00:30:00]
  • Changing by Addition Instead of Modification - [00:34:12]
  • Love Deleting Code - [00:37:01]
  • Avoid Optimizations and Generality - [00:39:38]
  • Favorite Refactoring Strategies - [00:43:28]
  • 3 Tech Lead Wisdom - [00:45:17]
  • _____

    Christian Clausen’s Bio

    Christian Clausen works as a Technical Agile Coach teaching teams how to properly refactor their code. He has previously worked as a software engineer on the Coccinelle semantic patching project, an automated refactoring tool. He holds an MSc degree in Computer Science and has taught software quality at a university level for five years.

    Follow Christian:

    • Twitter – https://twitter.com/thedrlambda
    • GitHub – https://github.com/thedrlambda
    • Medium – https://thedrlambda.medium.com/

    • Our Sponsor

      Are you looking for a new cool swag?

      Tech Lead Journal now offers you some swags that you can purchase online.
      These swags are printed on-demand based on your preference, and will be delivered safely to you all over the world where shipping is available.
      Check out all the cool swags by visiting https://techleadjournal.dev/shop.


      Like this episode?

      Subscribe on your favorite podcast app and submit your feedback.
      Follow @techleadjournal on LinkedIn, Twitter, and Instagram.
      Pledge your support by becoming a patron.
      For more info about the episode (including quotes and transcript), visit techleadjournal.dev/episodes/56.

      ...more
      View all episodesView all episodes
      Download on the App Store

      Tech Lead JournalBy Henry Suryawirawan

      • 4.7
      • 4.7
      • 4.7
      • 4.7
      • 4.7

      4.7

      14 ratings


      More shows like Tech Lead Journal

      View all
      The Knowledge Project by Shane Parrish

      The Knowledge Project

      2,672 Listeners

      Software Engineering Radio - the podcast for professional software developers by team@se-radio.net (SE-Radio Team)

      Software Engineering Radio - the podcast for professional software developers

      273 Listeners

      The Changelog: Software Development, Open Source by Changelog Media

      The Changelog: Software Development, Open Source

      288 Listeners

      Software Engineering Daily by Software Engineering Daily

      Software Engineering Daily

      626 Listeners

      Talk Python To Me by Michael Kennedy

      Talk Python To Me

      583 Listeners

      Soft Skills Engineering by Jamison Dance and Dave Smith

      Soft Skills Engineering

      287 Listeners

      Thoughtworks Technology Podcast by Thoughtworks

      Thoughtworks Technology Podcast

      44 Listeners

      The InfoQ Podcast by InfoQ

      The InfoQ Podcast

      38 Listeners

      Syntax - Tasty Web Development Treats by Wes Bos & Scott Tolinski - Full Stack JavaScript Web Developers

      Syntax - Tasty Web Development Treats

      985 Listeners

      Today, Explained by Vox

      Today, Explained

      10,331 Listeners

      The Stack Overflow Podcast by The Stack Overflow Podcast

      The Stack Overflow Podcast

      63 Listeners

      The Big Take by Bloomberg

      The Big Take

      155 Listeners

      科技工作講 Tech Job N Talk by Tech Job N Talk 科技工作講

      科技工作講 Tech Job N Talk

      24 Listeners

      HBR On Leadership by Harvard Business Review

      HBR On Leadership

      170 Listeners

      The Pragmatic Engineer by Gergely Orosz

      The Pragmatic Engineer

      77 Listeners