#56 - RefactoringThe Discipline for Writing Good Code - Christian Clausen

Published: Sept. 20, 2021, noon

b'

\\u201cGood 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."

\\n

Christian Clausen is a Technical Agile Coach specializing in teaching teams on how to refactor their code properly. He is also the author of \\u201cFive Lines of Code\\u201d. 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.

\\n

Listen out for:

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

_____

\\n

Christian Clausen\\u2019s Bio
\\nChristian 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.

\\n

Follow Christian:

\\n\\n


\\n

Our Sponsor

\\n

Are you looking for a new cool swag?
\\nTech Lead Journal now offers you some swags that you can purchase online.
\\nThese swags are printed on-demand based on your preference, and will be delivered safely to you all over the world where shipping is available.
\\nCheck out all the cool swags by visiting https://techleadjournal.dev/shop.

\\n


\\n

Like this episode?
\\n
Subscribe on your favorite podcast app and submit your feedback.
\\nFollow @techleadjournal on LinkedIn, Twitter, and Instagram.
\\nPledge your support by becoming a patron.
\\nFor more info about the episode (including quotes and transcript), visit techleadjournal.dev/episodes/56.

'