---
title: "Meaning & Key Takeaway of: Programming is similar to a game of golf…"
description: "\"Programming is similar to a game of golf. The point is not getting the ball in the hole but how many strokes it takes.\" — Hayley Mills"
image: "https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png"
---

#  Programming is similar to a game of golf. The point is not…

![“Programming is similar to a game of golf. The point is not getting the ball in the hole but how many strokes it takes.” quote by Hayley Mills](https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png)   [Download](https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png) [Open image](https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png)

> “Programming is similar to a game of golf. The point is not getting the ball in the hole but how many strokes it takes.”

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

## About This Quote

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

Programming requires skill and efficiency, focusing on minimizing effort rather than just finishing tasks.

**In simple terms:** Programming is about efficiency, not just completion.

Key Takeaway

Aim for fewer steps in coding.

Themes

efficiency skill process optimization

Mood

focused analytical

Type

technical motivational

When to use this quote

- software project planning
- code review
- debugging
- performance tuning

Key Concepts

software development problem solving algorithmic thinking

Questions to Reflect On

- How can you reduce unnecessary steps in your code?
- What trade‑offs exist between speed and clarity?

A Different Perspective

Complex problems may need more steps despite best practices.

★ ★ ★ ★ ★   No ratings yet

[Balls](https://sms4smile.com/quotes/about/balls/) [Computer language](https://sms4smile.com/quotes/about/computer-language/) [Computer programmers](https://sms4smile.com/quotes/about/computer-programmers/) [Computer programming](https://sms4smile.com/quotes/about/computer-programming/) [Game](https://sms4smile.com/quotes/about/game/) [Game Golf](https://sms4smile.com/quotes/about/game-golf/) [Games](https://sms4smile.com/quotes/about/games/) [Golf](https://sms4smile.com/quotes/about/golf/) [Hole Strokes](https://sms4smile.com/quotes/about/hole-strokes-5946789/) [Holes](https://sms4smile.com/quotes/about/holes/) [Learning](https://sms4smile.com/quotes/about/learning/) [Programmers](https://sms4smile.com/quotes/about/programmers/) [Programming](https://sms4smile.com/quotes/about/programming/) [Programming languages](https://sms4smile.com/quotes/about/programming-languages/) [Programming Similar](https://sms4smile.com/quotes/about/programming-similar-5946790/) [Strokes](https://sms4smile.com/quotes/about/strokes/)

## Related quotes

> [If you cannot grok the overall structure of a program while taking a shower, you are not ready to code it.](https://sms4smile.com/quotes/richard-e-pattis/if-you-cannot-grok-the-overall-structure-of-a-program-while-taking-a/)

[Richard E. Pattis](https://sms4smile.com/quotes/author/richard-e-pattis/)

> [The unavoidable price of reliability is simplicity.](https://sms4smile.com/quotes/tony-hoare/the-unavoidable-price-of-reliability-is-simplicity/)

[Tony Hoare](https://sms4smile.com/quotes/author/tony-hoare/)

> [Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris.](https://sms4smile.com/quotes/larry-wall/most-of-you-are-familiar-with-the-virtues-of-a-programmer-there-are/)

[Larry Wall](https://sms4smile.com/quotes/author/larry-wall/)

> [We should forget about small efficiencies, say about 97% of the time: premature optimization is the root of all evil.](https://sms4smile.com/quotes/anonymous/we-should-forget-about-small-efficiencies-say-about-97-of-the-time-2/)

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

> [It's OK to figure out murder mysteries, but you shouldn't need to figure out code. You should be able to read it.](https://sms4smile.com/quotes/steve-mcconnell/it-s-ok-to-figure-out-murder-mysteries-but-you-shouldn-t-need-to/)

[Steve McConnell](https://sms4smile.com/quotes/author/steve-mcconnell/)

> [The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs…](https://sms4smile.com/quotes/harlan-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there/)

[Harlan Mills](https://sms4smile.com/quotes/author/harlan-mills/)

> [The magic of myth and legend has come true in our time. One types the correct incantation on a keyboard, and a display screen…](https://sms4smile.com/quotes/fred-brooks/the-magic-of-myth-and-legend-has-come-true-in-our-time-one-types-the/)

[Fred Brooks](https://sms4smile.com/quotes/author/fred-brooks/)

> [Should array indices start at 0 or 1? My compromise of 0.5 was rejected without, I thought, proper consideration.](https://sms4smile.com/quotes/stan-kelly-bootle/should-array-indices-start-at-0-or-1-my-compromise-of-0-5-was/)

[Stan Kelly-Bootle](https://sms4smile.com/quotes/author/stan-kelly-bootle/)

> [When I'm working on a problem, I never think about beauty. I think only how to solve the problem.](https://sms4smile.com/quotes/r-buckminster-fuller/when-i-m-working-on-a-problem-i-never-think-about-beauty-i-think-only/)

[R. Buckminster Fuller](https://sms4smile.com/quotes/author/r-buckminster-fuller/)

> [As soon as we started programming, we found to our surprise that it wasn't as easy to get programs right as we had thought.…](https://sms4smile.com/quotes/maurice-wilkes/as-soon-as-we-started-programming-we-found-to-our-surprise-that-it/)

[Maurice Wilkes](https://sms4smile.com/quotes/author/maurice-wilkes/)

> [ It's \[programming\] the only job I can think of where I get to be both an engineer and an artist. There's an incredible, rigorous,… ](https://sms4smile.com/quotes/andy-hertzfeld/it-s-programming-the-only-job-i-can-think-of-where-i-get-to-be-both/)

[Andy Hertzfeld](https://sms4smile.com/quotes/author/andy-hertzfeld/)

> [Programming languages, like pizzas, come in only too sizes; too big and too small.](https://sms4smile.com/quotes/richard-e-pattis/programming-languages-like-pizzas-come-in-only-too-sizes-too-big-and/)

[Richard E. Pattis](https://sms4smile.com/quotes/author/richard-e-pattis/)

> [The generation of random numbers is too important to be left to chance.](https://sms4smile.com/quotes/robert-coveyou/the-generation-of-random-numbers-is-too-important-to-be-left-to-chance/)

[Robert Coveyou](https://sms4smile.com/quotes/author/robert-coveyou/)

> [Beauty is more important in computing than anywhere else in technology because software is so complicated. Beauty is the ultimate defense against complexity.](https://sms4smile.com/quotes/david-gelernter/beauty-is-more-important-in-computing-than-anywhere-else-in/)

[David Gelernter](https://sms4smile.com/quotes/author/david-gelernter/)

> [Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you…](https://sms4smile.com/quotes/brian-kernighan/debugging-is-twice-as-hard-as-writing-the-code-in-the-first-place/)

[Brian Kernighan](https://sms4smile.com/quotes/author/brian-kernighan/)

## More by Hayley Mills

> [There are some fantastic, brilliant alternative doctors out there.](https://sms4smile.com/quotes/hayley-mills/there-are-some-fantastic-brilliant-alternative-doctors-out-there/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I cry in movies a lot, and over books.](https://sms4smile.com/quotes/hayley-mills/i-cry-in-movies-a-lot-and-over-books/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Roses are my favourite flower, and my mum always grew a lot of them.](https://sms4smile.com/quotes/hayley-mills/roses-are-my-favourite-flower-and-my-mum-always-grew-a-lot-of-them/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [It doesn't make sense that there is only one way of dealing with cancer.](https://sms4smile.com/quotes/hayley-mills/it-doesn-t-make-sense-that-there-is-only-one-way-of-dealing-with/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I have a horror of being in confined spaces.](https://sms4smile.com/quotes/hayley-mills/i-have-a-horror-of-being-in-confined-spaces/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I'm a lazy creature when I'm not acting.](https://sms4smile.com/quotes/hayley-mills/i-m-a-lazy-creature-when-i-m-not-acting/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Even when I became the typical shy adolescent, I never minded performing. I felt there was a kind of safety, a protection about being…](https://sms4smile.com/quotes/hayley-mills/even-when-i-became-the-typical-shy-adolescent-i-never-minded/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [My father was an inspiration to me; I made a few movies with him and I loved working with him. Everything about him -…](https://sms4smile.com/quotes/hayley-mills/my-father-was-an-inspiration-to-me-i-made-a-few-movies-with-him-and-i/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I always say a tremendous amount of healing is in your own hands.](https://sms4smile.com/quotes/hayley-mills/i-always-say-a-tremendous-amount-of-healing-is-in-your-own-hands/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I admire tremendously those people who work consistently at the same jobs.](https://sms4smile.com/quotes/hayley-mills/i-admire-tremendously-those-people-who-work-consistently-at-the-same/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [Once cancer happens it changes the way you live for the rest of your life.](https://sms4smile.com/quotes/hayley-mills/once-cancer-happens-it-changes-the-way-you-live-for-the-rest-of-your/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [My sons are precious to me and I have tried incredibly hard to strike the right balance between work and home life while being…](https://sms4smile.com/quotes/hayley-mills/my-sons-are-precious-to-me-and-i-have-tried-incredibly-hard-to-strike/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I live in jeans and own a lot of them. I'm much more comfortable in trousers and T-shirts, and I don't often wear dresses.](https://sms4smile.com/quotes/hayley-mills/i-live-in-jeans-and-own-a-lot-of-them-i-m-much-more-comfortable-in/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [The only way for errors to occur in a program is by being put there by the author. No other mechanisms are known. Programs…](https://sms4smile.com/quotes/hayley-mills/the-only-way-for-errors-to-occur-in-a-program-is-by-being-put-there-2/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

> [I have a lot of mirrors around my house, not because I like to look at myself, but because I like the light and…](https://sms4smile.com/quotes/hayley-mills/i-have-a-lot-of-mirrors-around-my-house-not-because-i-like-to-look-at/)

[Hayley Mills](https://sms4smile.com/quotes/author/hayley-mills/)

[Explore all 25 Hayley Mills quotes ](https://sms4smile.com/quotes/author/hayley-mills/)

## More Balls quotes

> [It's a lot harder to play football when you haven't got the ball.](https://sms4smile.com/quotes/andy-gray/it-s-a-lot-harder-to-play-football-when-you-haven-t-got-the-ball/)

[Andy Gray](https://sms4smile.com/quotes/author/andy-gray/)

> [Once you pull the trigger, you've got to throw balls aggressively and with conviction.](https://sms4smile.com/quotes/alex-smith/once-you-pull-the-trigger-you-ve-got-to-throw-balls-aggressively-and/)

[Alex Smith](https://sms4smile.com/quotes/author/alex-smith/)

> [Thinking about the things that happened, I don't know any other ball player would could have done what he (Jackie Robinson) did. To be…](https://sms4smile.com/quotes/pee-wee-reese/thinking-about-the-things-that-happened-i-don-t-know-any-other-ball/)

[Pee Wee Reese](https://sms4smile.com/quotes/author/pee-wee-reese/)

> [Play small ball. Get back to basics. I would say that you need to be a conservative, but you need to maintain your independent…](https://sms4smile.com/quotes/andrea-tantaros/play-small-ball-get-back-to-basics-i-would-say-that-you-need-to-be-a/)

[Andrea Tantaros](https://sms4smile.com/quotes/author/andrea-tantaros/)

> [Donald Trump is a different ball of wax. I've been trying to say for I don't know how many months now that the traditional…](https://sms4smile.com/quotes/rush-limbaugh/donald-trump-is-a-different-ball-of-wax-i-ve-been-trying-to-say-for-i/)

[Rush Limbaugh](https://sms4smile.com/quotes/author/rush-limbaugh/)

> [Well, you can certainly teach free-throwing. And you can teach the boys to pass at angles and run in curves. - University of Kansas…](https://sms4smile.com/quotes/darryl-dawkins/well-you-can-certainly-teach-free-throwing-and-you-can-teach-the-boys/)

[Darryl Dawkins](https://sms4smile.com/quotes/author/darryl-dawkins/)

> [Maybe bring in sponge balls to learn the technique and gain that experience of actually challenging for a header.](https://sms4smile.com/quotes/ryan-mason/maybe-bring-in-sponge-balls-to-learn-the-technique-and-gain-that/)

[Ryan Mason](https://sms4smile.com/quotes/author/ryan-mason/)

> [I like René Descartes' theory about a ball of wax. You can change its form from solid to liquid, but it's still the same…](https://sms4smile.com/quotes/emmy-rossum/i-like-ren-descartes-theory-about-a-ball-of-wax-you-can-change-its/)

[Emmy Rossum](https://sms4smile.com/quotes/author/emmy-rossum/)

> [It wasn't really touching to be young; it was touching not to be young, because you had less of life left. Touching to be…](https://sms4smile.com/quotes/rose-macaulay/it-wasn-t-really-touching-to-be-young-it-was-touching-not-to-be-young/)

[Rose Macaulay](https://sms4smile.com/quotes/author/rose-macaulay/)

> [This ball was so crowded that it took me - a trained professional journalist with vast experience in this area - forty five minutes…](https://sms4smile.com/quotes/dave-barry/this-ball-was-so-crowded-that-it-took-me-a-trained-professional/)

[Dave Barry](https://sms4smile.com/quotes/author/dave-barry/)

> [Common sense is the guy who tells you that you ought to have had your brakes relined last week before you smashed a front…](https://sms4smile.com/quotes/raymond-chandler/common-sense-is-the-guy-who-tells-you-that-you-ought-to-have-had-your/)

[Raymond Chandler](https://sms4smile.com/quotes/author/raymond-chandler/)

> [Throwing a ball is not natural, whether it's overhand or underhand.](https://sms4smile.com/quotes/jennie-finch/throwing-a-ball-is-not-natural-whether-it-s-overhand-or-underhand/)

[Jennie Finch](https://sms4smile.com/quotes/author/jennie-finch/)

> [I don't feel like I have to live up to anything because I've proven that I can play. Give me the ball and let's…](https://sms4smile.com/quotes/clinton-portis/i-don-t-feel-like-i-have-to-live-up-to-anything-because-i-ve-proven/)

[Clinton Portis](https://sms4smile.com/quotes/author/clinton-portis/)

> [And if we seem nutty to you and if we seem like an odd ball to you, just remember one thing. The mighty oak…](https://sms4smile.com/quotes/glenn-turner/and-if-we-seem-nutty-to-you-and-if-we-seem-like-an-odd-ball-to-you/)

[Glenn Turner](https://sms4smile.com/quotes/author/glenn-turner/)

> [You run the football for toughness. You run the ball to tell your opponent that you're as tough as they are. But you throw…](https://sms4smile.com/quotes/jerry-glanville/you-run-the-football-for-toughness-you-run-the-ball-to-tell-your/)

[Jerry Glanville](https://sms4smile.com/quotes/author/jerry-glanville/)

[Browse all 3,005 Balls quotes ](https://sms4smile.com/quotes/about/balls/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "Programming is similar to a game of golf. The point is not getting the ball in the hole but how many strokes it takes.",
            "creator": {
                "@type": "Person",
                "name": "Hayley Mills"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/hayley-mills/programming-is-similar-to-a-game-of-golf-the-point-is-not-getting-the/",
            "about": {
                "@type": "Thing",
                "name": "Balls"
            },
            "@id": "https://sms4smile.com/quotes/hayley-mills/programming-is-similar-to-a-game-of-golf-the-point-is-not-getting-the/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png",
                "contentUrl": "https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png",
                "url": "https://sms4smile.com/quotes/i/cd0/hayley-mills-24080_balls_programming-is-similar-to-a-game-of-golf_3201625.png",
                "width": 1080,
                "height": 1080,
                "caption": "“Programming is similar to a game of golf. The point is not getting the ball in the hole but how many strokes…” — Hayley Mills",
                "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": "Hayley Mills",
                    "item": "https://sms4smile.com/quotes/author/hayley-mills/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "Programming is similar to a game...",
                    "item": "https://sms4smile.com/quotes/hayley-mills/programming-is-similar-to-a-game-of-golf-the-point-is-not-getting-the/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/hayley-mills/programming-is-similar-to-a-game-of-golf-the-point-is-not-getting-the/#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
            }
        }
    ]
}
```
