iteration cover image

iteration

New Book - Refactoring

Mar 18, 2019
39:33

Welcome to iteration. A weekly podcast about programming, development, and design through the lens of amazing books, chapter-by-chapter.

Refactoring

Improving the Design of Existing Code

by Martin Fowler (with Kent Beck)

Introduction

  • What’s in the book?
  • Who’s it for?
  • What’s refactoring?

Refactoring process:

  • Identify a pain, smell a smell, we’ll talk more about when to refactor in later episodes.
  • Separate feature additions from refactors
  • Refactorings are like diets - a lifestyle vs an intensive
  • Test coverage first
  • Small changes continually running tests
  • End goal: lots of small well-named functions that tells a clear story.

Considerations + Thoughts

  • Tests let JP in react native move faster
  • Refactoring lets you get things out of your head and into the code. Do this continuously.
  • Performance and refactoring

My Pick:

Get the Snipd
podcast app

Unlock the knowledge in podcasts with the podcast player of the future.
App store bannerPlay store banner

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode

Save any
moment

Hear something you like? Tap your headphones to save it with AI-generated key takeaways

Share
& Export

Send highlights to Twitter, WhatsApp or export them to Notion, Readwise & more

AI-powered
podcast player

Listen to all your favourite podcasts with AI-powered features

Discover
highlights

Listen to the best highlights from the podcasts you love and dive into the full episode