---
title: "Meaning & Key Takeaway of: Refactoring is a lot like solving a…"
description: "\"“Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large goal. Each step enables the next.”\" — Rob..."
image: "https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg"
---

#  Refactoring is a lot like solving a Rubik’s cube. There…

![“Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large goal. Each step enables the next.” quote by Robert C. Martin](https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg)   [Download](https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg) [Open image](https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg)

> ““Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large goal. Each step enables the next.””

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

## About This Quote

This interpretation was drafted with AI assistance. It is one reading of the quote, not the author's own explanation.

Refactoring requires many small, sequential steps, similar to solving a Rubik’s cube, where each step enables the next.

**In simple terms:** Refactoring is incremental.

Key Takeaway

Take small, logical steps.

Themes

software development refactoring problem solving

Mood

practical motivational

Type

technical inspirational

When to use this quote

- coding
- project planning
- debugging

Key Concepts

incrementalism dependency management

Questions to Reflect On

- What small step can you take today?
- How do dependencies affect your workflow?

A Different Perspective

Complex refactoring may still need major redesigns.

★ ★ ★ ★ ★   No ratings yet

[Goals](https://sms4smile.com/quotes/about/goals/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [Music is a lot more like solving an intricate puzzle with moments of pure, random creative bliss... whereas painting is much more purely random…](https://sms4smile.com/quotes/brandon-boyd/music-is-a-lot-more-like-solving-an-intricate-puzzle-with-moments-of/)

[Brandon Boyd](https://sms4smile.com/quotes/author/brandon-boyd/)

> [I like solving problems, and science provides a logical way of solving real-life problems.](https://sms4smile.com/quotes/david-j-anderson/i-like-solving-problems-and-science-provides-a-logical-way-of-solving/)

[David J. Anderson](https://sms4smile.com/quotes/author/david-j-anderson/)

> ['Toybox' is that kind of game that will stretch your mental capacity by doing very simple things like solving an easy puzzle of shooting…](https://sms4smile.com/quotes/rob-manuel/toybox-is-that-kind-of-game-that-will-stretch-your-mental-capacity-by/)

[Rob Manuel](https://sms4smile.com/quotes/author/rob-manuel/)

> [In the first person, the readers feel smart, like it's them solving the case.](https://sms4smile.com/quotes/patricia-cornwell/in-the-first-person-the-readers-feel-smart-like-it-s-them-solving-the/)

[Patricia Cornwell](https://sms4smile.com/quotes/author/patricia-cornwell/)

> [There's a structure to a detective story that I can easily understand. I understand playing that particular game. It's like solving a puzzle. Or…](https://sms4smile.com/quotes/christopher-bollen/there-s-a-structure-to-a-detective-story-that-i-can-easily-understand/)

[Christopher Bollen](https://sms4smile.com/quotes/author/christopher-bollen/)

> [“I tried to look at writing a song almost like solving a mystery. The song was there, buried somewhere in my brain. All I…](https://sms4smile.com/quotes/jon-skovron/i-tried-to-look-at-writing-a-song-almost-like-solving-a-mystery-the/)

[Jon Skovron](https://sms4smile.com/quotes/author/jon-skovron/)

> [I like solving problems that seem intractable. That's how I thrive.](https://sms4smile.com/quotes/stacey-abrams/i-like-solving-problems-that-seem-intractable-that-s-how-i-thrive/)

[Stacey Abrams](https://sms4smile.com/quotes/author/stacey-abrams/)

> [I have a really hard time connecting to music that doesn't feel like I'm somehow solving a puzzle that applies to my life.](https://sms4smile.com/quotes/andrew-mcmahon/i-have-a-really-hard-time-connecting-to-music-that-doesn-t-feel-like/)

[Andrew McMahon](https://sms4smile.com/quotes/author/andrew-mcmahon/)

> [The writers job is like solving a puzzle, and finally arriving at a solution is a tremendous satisfaction.](https://sms4smile.com/quotes/william-zinsser/the-writers-job-is-like-solving-a-puzzle-and-finally-arriving-at-a/)

[William Zinsser](https://sms4smile.com/quotes/author/william-zinsser/)

> [That's how you write novels actually. You suddenly hit upon something and you realize this is the path you were meant to take. You'd…](https://sms4smile.com/quotes/don-delillo/that-s-how-you-write-novels-actually-you-suddenly-hit-upon-something/)

[Don DeLillo](https://sms4smile.com/quotes/author/don-delillo/)

> [“Writing is like solving a creative equation.”](https://sms4smile.com/quotes/see-moua/writing-is-like-solving-a-creative-equation/)

See Moua

> [Every movie presents unusual challenges, and I like solving the problems with a combination of artwork and engineering.](https://sms4smile.com/quotes/douglas-trumbull/every-movie-presents-unusual-challenges-and-i-like-solving-the/)

[Douglas Trumbull](https://sms4smile.com/quotes/author/douglas-trumbull/)

> [“But what did aerodynamics matter in space? There wasn’t anything out here to cause friction. A Rubik’s Cube ought to fly as well as…](https://sms4smile.com/quotes/ruby-lionsdrake/but-what-did-aerodynamics-matter-in-space-there-wasn-t-anything-out/)

[Ruby Lionsdrake](https://sms4smile.com/quotes/author/ruby-lionsdrake/)

> [Basically, I'm a bit of a nerd and I've always wanted to solve a Rubik's Cube.](https://sms4smile.com/quotes/georgia-toffolo/basically-i-m-a-bit-of-a-nerd-and-i-ve-always-wanted-to-solve-a-rubik/)

[Georgia Toffolo](https://sms4smile.com/quotes/author/georgia-toffolo/)

> [I feel so proud of myself, see I bought a Rubik cube and finished it in 6 months while the box said 3-4 years...](https://sms4smile.com/quotes/anonymous/i-feel-so-proud-of-myself-see-i-bought-a-rubik-cube-and-finished-it/)

[Anonymous](https://sms4smile.com/quotes/author/anonymous/)

## More by Robert C. Martin

> [“The rules of software are the same today as they were in 1946, when Alan Turing wrote the very first code that would execute…](https://sms4smile.com/quotes/robert-c-martin/the-rules-of-software-are-the-same-today-as-they-were-in-1946-when/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Just as the Hare was overconfident in its speed, so the developers are overconfident in their ability to remain productive.”](https://sms4smile.com/quotes/robert-c-martin/just-as-the-hare-was-overconfident-in-its-speed-so-the-developers-are/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“How can we make sure we wind up behind the right door when the going gets tough? The answer is: craftsmanship.”](https://sms4smile.com/quotes/robert-c-martin/how-can-we-make-sure-we-wind-up-behind-the-right-door-when-the-going/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The problem that Dijkstra recognized, early on, was that programming is hard, and that programmers don’t do it very well.”](https://sms4smile.com/quotes/robert-c-martin/the-problem-that-dijkstra-recognized-early-on-was-that-programming-is/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Few practices are as odious as commenting-out code. Don’t do this!”](https://sms4smile.com/quotes/robert-c-martin/few-practices-are-as-odious-as-commenting-out-code-don-t-do-this/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Remember that code is really the language in which we ultimately express the requirements. We may create languages that are closer to the requirements.…](https://sms4smile.com/quotes/robert-c-martin/remember-that-code-is-really-the-language-in-which-we-ultimately/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“When you are working on a problem, you sometimes get so close to it that you can’t see all the options. You miss elegant…](https://sms4smile.com/quotes/robert-c-martin/when-you-are-working-on-a-problem-you-sometimes-get-so-close-to-it/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“The majority of the cost of a software project is in long-term maintenance.”](https://sms4smile.com/quotes/robert-c-martin/the-majority-of-the-cost-of-a-software-project-is-in-long-term/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Duplication may be the root of all evil in software.”](https://sms4smile.com/quotes/robert-c-martin/duplication-may-be-the-root-of-all-evil-in-software/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“So if you want to go fast, if you want to get done quickly, if you want your code to be easy to write,…](https://sms4smile.com/quotes/robert-c-martin/so-if-you-want-to-go-fast-if-you-want-to-get-done-quickly-if-you-want/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Slaves are not allowed to say no. Laborers may be hesitant to say no. But professionals are expected to say no. Indeed, good managers…](https://sms4smile.com/quotes/robert-c-martin/slaves-are-not-allowed-to-say-no-laborers-may-be-hesitant-to-say-no/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Abstraction is the elimination of the irrelevant and the amplification of the essential.”](https://sms4smile.com/quotes/robert-c-martin/abstraction-is-the-elimination-of-the-irrelevant-and-the/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“You see, programmers tend to be arrogant, self-absorbed introverts. We didn’t get into this business because we like people. Most of us got into…](https://sms4smile.com/quotes/robert-c-martin/you-see-programmers-tend-to-be-arrogant-self-absorbed-introverts-we/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Truth can only be found in one place: the code.”](https://sms4smile.com/quotes/robert-c-martin/truth-can-only-be-found-in-one-place-the-code/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

> [“Writing clean code is what you must do in order to call yourself a professional. There is no reasonable excuse for doing anything less…](https://sms4smile.com/quotes/robert-c-martin/writing-clean-code-is-what-you-must-do-in-order-to-call-yourself-a/)

[Robert C. Martin](https://sms4smile.com/quotes/author/robert-c-martin/)

[Explore all 34 Robert C. Martin quotes ](https://sms4smile.com/quotes/author/robert-c-martin/)

## More Goals quotes

> [I always say there are two things to be successful. The first is decide exactly what you want - set your goals - and…](https://sms4smile.com/quotes/brian-tracy/i-always-say-there-are-two-things-to-be-successful-the-first-is/)

[Brian Tracy](https://sms4smile.com/quotes/author/brian-tracy/)

> [The costs of the Bush-Obama wars in Iraq and Afghanistan are now estimated to run as high as $4.4 trillion - a major victory…](https://sms4smile.com/quotes/noam-chomsky/the-costs-of-the-bush-obama-wars-in-iraq-and-afghanistan-are-now/)

[Noam Chomsky](https://sms4smile.com/quotes/author/noam-chomsky/)

> [Before I debuted, it was my goal to make my debut, and afterwards, I aimed at winning champion titles on television music shows, and…](https://sms4smile.com/quotes/hyuna/before-i-debuted-it-was-my-goal-to-make-my-debut-and-afterwards-i/)

[Hyuna](https://sms4smile.com/quotes/author/hyuna/)

> [I don't really like too much credit. I know nobody's going to believe this, but I'd rather be able to score goals and nobody…](https://sms4smile.com/quotes/bradley-wright-phillips/i-don-t-really-like-too-much-credit-i-know-nobody-s-going-to-believe/)

[Bradley Wright-Phillips](https://sms4smile.com/quotes/author/bradley-wright-phillips/)

> [Leo, Cristiano Ronaldo, Neymar, Eden. Every year, you look at their numbers - score goals, assists, minutes - to see they play very well.](https://sms4smile.com/quotes/pedro/leo-cristiano-ronaldo-neymar-eden-every-year-you-look-at-their/)

[Pedro](https://sms4smile.com/quotes/author/pedro/)

> [“So Jace is my actual family," Kit said. "But I can't go live with him, because him and his hot girlfriend are going off…](https://sms4smile.com/quotes/cassandra-clare/so-jace-is-my-actual-family-kit-said-but-i-can-t-go-live-with-him/)

[Cassandra Clare](https://sms4smile.com/quotes/author/cassandra-clare/)

> [The goal of spiritual practice is full recovery, and the only thing you need to recover from is a fractured sense of self.](https://sms4smile.com/quotes/marianne-williamson/the-goal-of-spiritual-practice-is-full-recovery-and-the-only-thing/)

[Marianne Williamson](https://sms4smile.com/quotes/author/marianne-williamson/)

> [Every drop of rain hits its appointed target.](https://sms4smile.com/quotes/john-newton/every-drop-of-rain-hits-its-appointed-target/)

[John Newton](https://sms4smile.com/quotes/author/john-newton/)

> [“Achieving mental harmony is one of the greatest goals and experiences in life.”](https://sms4smile.com/quotes/kambiz-mostofizadeh/achieving-mental-harmony-is-one-of-the-greatest-goals-and-experiences/)

[Kambiz Mostofizadeh](https://sms4smile.com/quotes/author/kambiz-mostofizadeh/)

> [I don't think about the press or the crowds or the other leaders of the race. The focus is only on myself. As soon…](https://sms4smile.com/quotes/magdalena-neuner/i-don-t-think-about-the-press-or-the-crowds-or-the-other-leaders-of/)

[Magdalena Neuner](https://sms4smile.com/quotes/author/magdalena-neuner/)

> [Too many times we flitter our energy into too many goals and in the process don't achieve much. Focus is very important in life.…](https://sms4smile.com/quotes/vaishali-kasture/too-many-times-we-flitter-our-energy-into-too-many-goals-and-in-the/)

[Vaishali Kasture](https://sms4smile.com/quotes/author/vaishali-kasture/)

> [Plainly, the environment must be a living one, directed by a higher intelligence, arranged by an adult who is prepared for his mission.](https://sms4smile.com/quotes/maria-montessori/plainly-the-environment-must-be-a-living-one-directed-by-a-higher/)

[Maria Montessori](https://sms4smile.com/quotes/author/maria-montessori/)

> [According to the best research, less than 3% of Americans have written goals, and less than 1% review and rewrite their goals on a daily basis.](https://sms4smile.com/quotes/brian-tracy/according-to-the-best-research-less-than-3-of-americans-have-written/)

[Brian Tracy](https://sms4smile.com/quotes/author/brian-tracy/)

> [When you have accomplished your goal simply walk away. This is the path way to Heaven.](https://sms4smile.com/quotes/laozi/when-you-have-accomplished-your-goal-simply-walk-away-this-is-the/)

[Laozi](https://sms4smile.com/quotes/author/laozi/)

> [“What shapes us is not always our achievements but our omissions. Not lies; simply the truths we don’t tell.”](https://sms4smile.com/quotes/c-j-tudor/what-shapes-us-is-not-always-our-achievements-but-our-omissions-not/)

[C.J. Tudor](https://sms4smile.com/quotes/author/c-j-tudor/)

[Browse all 21,276 Goals quotes ](https://sms4smile.com/quotes/about/goals/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "“Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large goal. Each step enables the next.”",
            "creator": {
                "@type": "Person",
                "name": "Robert C. Martin"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/robert-c-martin/refactoring-is-a-lot-like-solving-a-rubik-s-cube-there-are-lots-of/",
            "about": {
                "@type": "Thing",
                "name": "Goals"
            },
            "@id": "https://sms4smile.com/quotes/robert-c-martin/refactoring-is-a-lot-like-solving-a-rubik-s-cube-there-are-lots-of/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg",
                "contentUrl": "https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg",
                "url": "https://sms4smile.com/quotes/i/7b5/robert-c-martin-18499_goals_refactoring-is-a-lot-like-solving-a-rubi_699259.jpg",
                "width": 1080,
                "height": 1080,
                "caption": "“Refactoring is a lot like solving a Rubik’s cube. There are lots of little steps required to achieve a large…” — Robert C. Martin",
                "creditText": "SMS4Smile Quotes",
                "creator": {
                    "@id": "https://sms4smile.com/quotes/#organization"
                }
            }
        },
        {
            "@type": "BreadcrumbList",
            "itemListElement": [
                {
                    "@type": "ListItem",
                    "position": 1,
                    "name": "Home",
                    "item": "https://sms4smile.com/"
                },
                {
                    "@type": "ListItem",
                    "position": 2,
                    "name": "Quotes",
                    "item": "https://sms4smile.com/quotes/"
                },
                {
                    "@type": "ListItem",
                    "position": 3,
                    "name": "Robert C. Martin",
                    "item": "https://sms4smile.com/quotes/author/robert-c-martin/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "“Refactoring is a lot like solving...",
                    "item": "https://sms4smile.com/quotes/robert-c-martin/refactoring-is-a-lot-like-solving-a-rubik-s-cube-there-are-lots-of/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/robert-c-martin/refactoring-is-a-lot-like-solving-a-rubik-s-cube-there-are-lots-of/#breadcrumb"
        },
        {
            "@type": "WebSite",
            "@id": "https://sms4smile.com/quotes/#website",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "publisher": {
                "@id": "https://sms4smile.com/quotes/#organization"
            }
        },
        {
            "@type": "Organization",
            "@id": "https://sms4smile.com/quotes/#organization",
            "name": "SMS4Smile Quotes",
            "url": "https://sms4smile.com/quotes/",
            "logo": {
                "@type": "ImageObject",
                "url": "https://sms4smile.com/quotes/wp-content/themes/sq/assets/icons/icon-512.png",
                "width": 512,
                "height": 512
            }
        }
    ]
}
```
