---
title: "Meaning & Key Takeaway of: My basic rule is, if it could possibly…"
description: "\"My basic rule is, if it could possibly come from the end user, it's not a run-time crash. But if it is my code to my code, I crash it as hard as possib..."
image: "https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png"
---

#  My basic rule is, if it could possibly come from the end…

![“My basic rule is, if it could possibly come from the end user, it's not a run-time crash. But if it is my code to my code, I crash it as hard as possible—fail as early as possible.” quote by Brad Fitzpatrick](https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png)   [Download](https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png) [Open image](https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png)

> “My basic rule is, if it could possibly come from the end user, it's not a run-time crash. But if it is my code to my code, I crash it as hard as possible—fail as early as possible.”

Brad Fitzpatrick

## About This Quote

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

Code should fail early when caused by user input, but can be stress‑tested on internal code.

**In simple terms:** Fail early on user errors, stress test internal code.

Key Takeaway

Implement early failure checks for user inputs.

Themes

software error handling fail fast user input testing

Mood

pragmatic analytical

Type

technical instructional

When to use this quote

- code reviews
- automated testing
- deployment pipelines

Key Concepts

software engineering quality assurance

Questions to Reflect On

- How do you balance early failure with robustness?
- What safeguards protect internal code?

A Different Perspective

Over‑emphasis on early failure may hinder flexibility.

★ ★ ★ ★ ★   No ratings yet

[Code](https://sms4smile.com/quotes/about/code/) [Programming](https://sms4smile.com/quotes/about/programming/) [Running](https://sms4smile.com/quotes/about/running/) [Technology](https://sms4smile.com/quotes/about/technology/)

## Related quotes

> [It is possible to fail in many ways . . . while to succeed is possible only in one way (for which reason also…](https://sms4smile.com/quotes/aristotle/it-is-possible-to-fail-in-many-ways-while-to-succeed-is-possible-only/)

[Aristotle](https://sms4smile.com/quotes/author/aristotle/)

> [It is possible to fail in many ways while for success it is possible only in one way ð](https://sms4smile.com/quotes/aristotle/it-is-possible-to-fail-in-many-ways-while-for-success-it-is-possible/)

[Aristotle](https://sms4smile.com/quotes/author/aristotle/)

> [I guess the big thing to say about 'Pig Farm' is that none of us knows if it works, and we're going in blind.…](https://sms4smile.com/quotes/denis-o-hare/i-guess-the-big-thing-to-say-about-pig-farm-is-that-none-of-us-knows/)

[Denis O'Hare](https://sms4smile.com/quotes/author/denis-o-hare/)

> [It is possible to fail in many ways...while to succeed is possible only in one way.](https://sms4smile.com/quotes/aristotle/it-is-possible-to-fail-in-many-ways-while-to-succeed-is-possible-only-2/)

[Aristotle](https://sms4smile.com/quotes/author/aristotle/)

> [“It is possible to fail, and not have our faith fail us. It is possible to lose our lives, and not lose our souls.”](https://sms4smile.com/quotes/jonathan-martin/it-is-possible-to-fail-and-not-have-our-faith-fail-us-it-is-possible/)

[Jonathan Martin](https://sms4smile.com/quotes/author/jonathan-martin/)

> [Do the things that interest you and do them with all your heart. Don't be concerned about whether people are watching you or criticizing…](https://sms4smile.com/quotes/eleanor-roosevelt/do-the-things-that-interest-you-and-do-them-with-all-your-heart-don-t-2/)

[Eleanor Roosevelt](https://sms4smile.com/quotes/author/eleanor-roosevelt/)

> [“You want your people to fail early, fast, and cheap—and then learn from it.”](https://sms4smile.com/quotes/liz-wiseman/you-want-your-people-to-fail-early-fast-and-cheap-and-then-learn-from/)

[Liz Wiseman](https://sms4smile.com/quotes/author/liz-wiseman/)

> [Fail early, fail often, but always fail forward.](https://sms4smile.com/quotes/john-c-maxwell/fail-early-fail-often-but-always-fail-forward/)

[John C. Maxwell](https://sms4smile.com/quotes/author/john-c-maxwell/)

> [“Fail early, fail often.”](https://sms4smile.com/quotes/tarun-sharma/fail-early-fail-often/)

[Tarun Sharma](https://sms4smile.com/quotes/author/tarun-sharma/)

> [“It’s for this reason that, however counterintuitive it may seem, psychologists actually recommend that we fail early and often.”](https://sms4smile.com/quotes/shawn-achor/it-s-for-this-reason-that-however-counterintuitive-it-may-seem/)

[Shawn Achor](https://sms4smile.com/quotes/author/shawn-achor/)

> [If you're going to fail, you'd rather fail early than fail late in general.](https://sms4smile.com/quotes/nassim-nicholas-taleb/if-you-re-going-to-fail-you-d-rather-fail-early-than-fail-late-in/)

[Nassim Nicholas Taleb](https://sms4smile.com/quotes/author/nassim-nicholas-taleb/)

> [Fail early, fail often, in order to succeed sooner.](https://sms4smile.com/quotes/tom-kelley/fail-early-fail-often-in-order-to-succeed-sooner/)

[Tom Kelley](https://sms4smile.com/quotes/author/tom-kelley/)

> [The people who are good in the long run fail a lot, especially at the beginning. So, when you fail early, it might be…](https://sms4smile.com/quotes/seth-godin/the-people-who-are-good-in-the-long-run-fail-a-lot-especially-at-the/)

[Seth Godin](https://sms4smile.com/quotes/author/seth-godin/)

> [There's a basic rule which runs through all kinds of music, kind of an unwritten rule. I don't know what it is. But I've…](https://sms4smile.com/quotes/anonymous/there-s-a-basic-rule-which-runs-through-all-kinds-of-music-kind-of-an/)

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

> [“Here's my most basic rule, keep life interesting.”](https://sms4smile.com/quotes/nigia-stephens/here-s-my-most-basic-rule-keep-life-interesting/)

[Nigia Stephens](https://sms4smile.com/quotes/author/nigia-stephens/)

## More Code quotes

> [At the deepest level, all living things that have ever been looked at have the same DNA code. And many of the same genes.](https://sms4smile.com/quotes/richard-dawkins/at-the-deepest-level-all-living-things-that-have-ever-been-looked-at/)

[Richard Dawkins](https://sms4smile.com/quotes/author/richard-dawkins/)

> [It is no secret that I have read 'The Da Vinci Code' several times. I genuinely believe that 'The Da Vinci Code' and 'Angels…](https://sms4smile.com/quotes/ashwin-sanghi/it-is-no-secret-that-i-have-read-the-da-vinci-code-several-times-i/)

[Ashwin Sanghi](https://sms4smile.com/quotes/author/ashwin-sanghi/)

> [Programmers are always surrounded by complexity; we cannot avoid it… If our basic tool, the language in which we design and code our programs,…](https://sms4smile.com/quotes/tony-hoare/programmers-are-always-surrounded-by-complexity-we-cannot-avoid-it-if/)

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

> [One of my most productive days was throwing away 1,000 lines of code.](https://sms4smile.com/quotes/ken-thompson/one-of-my-most-productive-days-was-throwing-away-1-000-lines-of-code/)

[Ken Thompson](https://sms4smile.com/quotes/author/ken-thompson/)

> [Writing code means always having to say you're sorry.](https://sms4smile.com/quotes/paul-ford/writing-code-means-always-having-to-say-you-re-sorry/)

[Paul Ford](https://sms4smile.com/quotes/author/paul-ford/)

> [It would be a piece of ingenuousness to accuse the man of today of his lack of moral code. The accusation would leave him…](https://sms4smile.com/quotes/jose-ortega-y-gasset/it-would-be-a-piece-of-ingenuousness-to-accuse-the-man-of-today-of/)

[Jose Ortega y Gasset](https://sms4smile.com/quotes/author/jose-ortega-y-gasset/)

> [I loved 'Chicago Code;' I watched that a lot. It was great because it really captured the city - I'm from Chicago, too.](https://sms4smile.com/quotes/jessy-schram/i-loved-chicago-code-i-watched-that-a-lot-it-was-great-because-it/)

[Jessy Schram](https://sms4smile.com/quotes/author/jessy-schram/)

> [I kind of pride myself on coming onto things that are well-oiled machines and finding a way to bring what I bring and fit…](https://sms4smile.com/quotes/rob-lowe/i-kind-of-pride-myself-on-coming-onto-things-that-are-well-oiled/)

[Rob Lowe](https://sms4smile.com/quotes/author/rob-lowe/)

> [When we're done simplifying the tax code, getting the lobbyist carve outs our of the tax code, lowering our rates and letting people have…](https://sms4smile.com/quotes/paul-ryan/when-we-re-done-simplifying-the-tax-code-getting-the-lobbyist-carve/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The tax code is 10 times the size of the Bible with none of the good news.](https://sms4smile.com/quotes/paul-ryan/the-tax-code-is-10-times-the-size-of-the-bible-with-none-of-the-good/)

[Paul Ryan](https://sms4smile.com/quotes/author/paul-ryan/)

> [The Cheney team had, for example, technological supremacy over the National Security Council staff. That is to say, they could read their e-mails. I…](https://sms4smile.com/quotes/lawrence-wilkerson/the-cheney-team-had-for-example-technological-supremacy-over-the/)

[Lawrence Wilkerson](https://sms4smile.com/quotes/author/lawrence-wilkerson/)

> [ \[T\]he tax code has been piling up, year after year, a symbol of everything gone wrong in America, of arrogant rulers and lost freedom,… ](https://sms4smile.com/quotes/dick-armey/t-he-tax-code-has-been-piling-up-year-after-year-a-symbol-of/)

[Dick Armey](https://sms4smile.com/quotes/author/dick-armey/)

> [In open source, you really have to be near the watershed to have an impact on the source code. Customers want to be near…](https://sms4smile.com/quotes/peter-fenton/in-open-source-you-really-have-to-be-near-the-watershed-to-have-an/)

[Peter Fenton](https://sms4smile.com/quotes/author/peter-fenton/)

> [We can use our art to become political, to become something you want to talk about. We make clothes, but we have the chance…](https://sms4smile.com/quotes/olivier-rousteing/we-can-use-our-art-to-become-political-to-become-something-you-want/)

[Olivier Rousteing](https://sms4smile.com/quotes/author/olivier-rousteing/)

> [Your zip code or your income level should not dictate your access to healthy drinking water.](https://sms4smile.com/quotes/alex-padilla/your-zip-code-or-your-income-level-should-not-dictate-your-access-to/)

[Alex Padilla](https://sms4smile.com/quotes/author/alex-padilla/)

[Browse all 1,662 Code quotes ](https://sms4smile.com/quotes/about/code/)

```json
{
    "@context": "https://schema.org",
    "@graph": [
        {
            "@type": "Quotation",
            "text": "My basic rule is, if it could possibly come from the end user, it's not a run-time crash. But if it is my code to my code, I crash it as hard as possible—fail as early as possible.",
            "creator": {
                "@type": "Person",
                "name": "Brad Fitzpatrick"
            },
            "isPartOf": {
                "@id": "https://sms4smile.com/quotes/#website"
            },
            "url": "https://sms4smile.com/quotes/brad-fitzpatrick/my-basic-rule-is-if-it-could-possibly-come-from-the-end-user-it-s-not/",
            "about": {
                "@type": "Thing",
                "name": "Code"
            },
            "@id": "https://sms4smile.com/quotes/brad-fitzpatrick/my-basic-rule-is-if-it-could-possibly-come-from-the-end-user-it-s-not/#quotation",
            "image": {
                "@type": "ImageObject",
                "@id": "https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png",
                "contentUrl": "https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png",
                "url": "https://sms4smile.com/quotes/i/fda/brad-fitzpatrick-224136_code_my-basic-rule-is-if-it-could-possibly-co_2551673.png",
                "width": 1080,
                "height": 1080,
                "caption": "“My basic rule is, if it could possibly come from the end user, it's not a run-time crash. But if it is my…” — Brad Fitzpatrick",
                "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": "Brad Fitzpatrick",
                    "item": "https://sms4smile.com/quotes/author/brad-fitzpatrick/"
                },
                {
                    "@type": "ListItem",
                    "position": 4,
                    "name": "My basic rule is, if it...",
                    "item": "https://sms4smile.com/quotes/brad-fitzpatrick/my-basic-rule-is-if-it-could-possibly-come-from-the-end-user-it-s-not/"
                }
            ],
            "@id": "https://sms4smile.com/quotes/brad-fitzpatrick/my-basic-rule-is-if-it-could-possibly-come-from-the-end-user-it-s-not/#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
            }
        }
    ]
}
```
