Skip to main content
thoughtbot thoughtbot
  • Live on Twitch!

    thoughtbot is livestreaming

    Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

  • Case Studies
  • Blog
  • Let’s Talk
Live on Twitch!

thoughtbot is livestreaming

Work alongside the thoughtbot team as we collaborate with each other and our clients, live. Ask us anything, we're live right now!

Let’s get started!
View all Services
Development
  • Ruby on Rails
  • Hotwire
  • AI and Machine Learning
  • Maintenance
  • Mobile
Design
  • Discovery Sprints
  • UX, UI, and Product Design
  • Design Systems
Product
  • Product Management
  • Accessibility
Team and Processes
  • Team Augmentation
  • Fractional Leadership
View all Services
View all Resources
Development
  • Tech Leadership Resources
  • Open Source
  • Books
  • The Bike Shed Podcast
  • Live Streaming on YouTube
  • Conference Talks
The business of great software
  • Playbook
  • Purpose Built
  • Giant Robots Smashing Into Other Giant Robots Podcast
  • Design Sprint Guide
  • Live Streaming on LinkedIn
View all Resources

Refactoring Articles

Written by thoughtbot, your expert strategy, design, product management, and development partner.

    • All Topics
    • Design
    • Web
    • iOS
    • Android
    • More topics
  1. Wrap your dependencies

    It will make your code more flexible and easier to maintain.

    Matheus Richard
    August 26, 2024
    • Refactoring
    • Good Code
  2. Keeping it simple

    A reminder that code is a step in a process, not an end in itself.

    Matheus Richard
    December 14, 2022
    • Ruby
    • Refactoring
  3. Write Readable Code

    Techniques and reasons to optimize your code for people, not metrics.

    Edward Loveall
    March 18, 2022
    • Good Code
    • Programming
    • Refactoring
    • Stories
  4. Pipelining without pipes

    Ruby, functional programming, how to build operation pipelines, and the average programming language color.

    Matheus Richard
    March 11, 2022
    • Ruby
    • Functional Programming
    • OOP
    • Refactoring
  5. A Mindset for Better Code

    The key to better code is making it easy to delete.

    Matheus Richard
    January 4, 2022
    • Refactoring
  6. Spaces: The Final Frontier

    One big giant blob of words is hard – and tedious – to read. Let’s get back to elementary school and see how we can improve this.

    Matheus Richard
    September 15, 2021
    • Refactoring
    • Code
  7. KISSing It: On Revisiting Old Code

    One of the many things that’s cringeworthy but worth it.

    EJ Mitchell
    January 4, 2021
    • Development
    • Refactoring
    • Code
    • Continuous Improvement
  8. Finding the Time to Refactor

    Many people ask, “How do I find time to refactor?” I think the question itself betrays a misunderstanding of refactoring. Let me tell you when I refactor.

    German Velasco
    November 11, 2019
    • Refactoring
    • Good Code
  9. Let's Not Misuse Refactoring

    Refactoring has a specific meaning. When we misuse the word, we lose the ability to communicate an important concept. Let’s revisit what refactoring is and what it is not.

    German Velasco
    October 31, 2019
    • Refactoring
    • Good Code
  10. Services are Not a Silver Bullet

    If your codebase is complex, services might not be the appropriate solution.

    Josh Clayton
    March 20, 2019
    • Service Oriented Architecture
    • Refactoring
  11. Sign up to receive a weekly recap from thoughtbot

1 2 Next › Last »

Footer

thoughtbot
  • Services
  • Case Studies
  • Resources
  • Let's Talk
  • Our Company
  • Careers
  • Purpose
  • Blog
  • Sponsor
  • Mastodon
  • GitHub
  • Instagram
  • YouTube
  • Twitch
© 2025 thoughtbot, inc.

The design of a robot and thoughtbot are registered trademarks of thoughtbot, inc.

  • US: +1 (877) 9-ROBOTS
  • UK: +44 (0)20 3807 0560
  • Beware of fraudulent thoughtbot job listings Learn more
  • Code of Conduct
  • Accessibility Statement
  • Privacy Policy