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

#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 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.

Det här avsnittet är hämtat från ett öppet RSS-flöde och publiceras inte av Podme. Det kan innehålla reklam.

Avsnitt(282)

The IT/OT Handbook: From Silos to Sustainable Digitalization - David Ariens & Willem van Lammeren

The IT/OT Handbook: From Silos to Sustainable Digitalization - David Ariens & Willem van Lammeren

Why can’t you “move fast and break things” in a factory? Because a small software bug doesn’t just crash an app, it can shut down a plant the size of a small city. David and Willem explain the hidden ...

28 Sep 1h 7min

Don't Outsource Your Thinking: How to Lead in the AI-Native Era - Emilie Schario

Don't Outsource Your Thinking: How to Lead in the AI-Native Era - Emilie Schario

What’s the one rule that matters most when AI writes most of your code? Emilie says it comes down to a single line: don’t outsource your thinking.In this episode, Emilie Schario, co-founder of Kilo Co...

7 Sep 59min

The Father of AI Assistant on Why Joy Comes Before Success - Kevin Surace

The Father of AI Assistant on Why Joy Comes Before Success - Kevin Surace

If you’re not using AI five times an hour, you’re already behind, says the man who built the first AI assistant back in 1998. Kevin explains why that pace is now the baseline, not the exception, for d...

24 Aug 55min

Software Engineering Laws Every Developer Must Know in the AI Era - Milan Milanovic

Software Engineering Laws Every Developer Must Know in the AI Era - Milan Milanovic

Does moving faster with AI mean you get to skip the laws that governed every software project before it? Milan Milanovic argues the opposite, the old laws of software engineering now apply twice as ha...

10 Aug 1h 1min

Signals & Levers: Systems Thinking to Navigate Software Delivery Illusions - Elisabeth Hendrickson & Joel Tosi

Signals & Levers: Systems Thinking to Navigate Software Delivery Illusions - Elisabeth Hendrickson & Joel Tosi

(04:48) Brought to you by SpeechifyAITired of text-to-speech that sounds robotic or costs too much at scale? SpeechifyAI's new Simba 3.2 model ranks #1 on Artificial Analysis for realness, priced unde...

3 Aug 1h 17min

From Technical Debt to Triple Debt: The Hidden Cost of AI-Generated Code

From Technical Debt to Triple Debt: The Hidden Cost of AI-Generated Code

Is vibe coding quietly draining the thing that makes teams effective: their shared understanding? Margaret breaks down her new “triple debt” model, and why cognitive debt might be the one nobody’s tra...

27 Juli 1h 10min

Ex-Gojek CTO: Why the Age of AI Rewards Builders as Judgment Becomes Expensive

Ex-Gojek CTO: Why the Age of AI Rewards Builders as Judgment Becomes Expensive

If expertise is becoming almost free, why is judgment becoming the most expensive skill in tech? Ajey Gore, former Gojek CTO, explains why the age of AI agents rewards builders over typists.In this ep...

13 Juli 1h 22min

The AI Productivity Paradox: Why 10X Output Doesn't Mean 10X Business Outcome

The AI Productivity Paradox: Why 10X Output Doesn't Mean 10X Business Outcome

What if optimizing for AI output is actually slowing your company down? When code becomes nearly free to produce, the organizations still measuring productivity by output are solving the wrong problem...

29 Juni 1h 5min

Populärt inom Teknik

uppgang-och-fall
bilar-med-sladd
vi-bilagares-podcast
rss-ai-med-jonas-benjamin
market-makers
elbilsveckan
rss-laddstationen-med-elbilen-i-sverige
rss-technokratin
natets-morka-sida
rss-elektrikerpodden
rss-uppgang-och-fall
skogsforum-podcast
rss-snacka-om-ai
rss-en-ai-till-kaffet
bli-saker-podden
rss-veckans-ai
hej-bruksbil
developers-mer-an-bara-kod
rss-elektrifieringspodden
rss-sakerhetspodcasten