Cover art for podcast Tech Lead Journal

Tech Lead Journal

58 EpisodesProduced by Henry SuryawirawanWebsite

Great technical leadership requires more than just great coding skills. It requires a variety of other skills that are not well-defined, and they are not something that we can fully learn in any school or book. Hear from experienced technical leaders sharing their journey and philosophy for building… read more


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

“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:

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

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

Educational emoji reaction


Interesting emoji reaction


Funny emoji reaction


Agree emoji reaction


Love emoji reaction


Wow emoji reaction


Listen to Tech Lead Journal


A free podcast app for iPhone and Android

  • User-created playlists and collections
  • Download episodes while on WiFi to listen without using mobile data
  • Stream podcast episodes without waiting for a download
  • Queue episodes to create a personal continuous playlist
RadioPublic on iOS and Android
Or by RSS
RSS feed

Connect with listeners

Podcasters use the RadioPublic listener relationship platform to build lasting connections with fans

Yes, let's begin connecting
Browser window

Find new listeners

  • A dedicated website for your podcast
  • Web embed players designed to convert visitors to listeners in the RadioPublic apps for iPhone and Android
Clicking mouse cursor

Understand your audience

  • Capture listener activity with affinity scores
  • Measure your promotional campaigns and integrate with Google and Facebook analytics
Graph of increasing value

Engage your fanbase

  • Deliver timely Calls To Action, including email acquistion for your mailing list
  • Share exactly the right moment in an episode via text, email, and social media
Icon of cellphone with money

Make money

  • Tip and transfer funds directly to podcastsers
  • Earn money for qualified plays in the RadioPublic apps with Paid Listens