---
title: "If you want your program to be readable, consider supplying the argum… — Larry Wall Quote #269 | QuotesBy.net"
description: "If you want your program to be readable, consider supplying the argument. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # If you want your program to be readable, consider supplying the argument.

[Larry Wall](https://quotesby.net/Larry-Wall)\#269

[Programming](https://quotesby.net/Larry-Wall/programming/)[Readability](https://quotesby.net/Larry-Wall/readability/)[Clarity](https://quotesby.net/Larry-Wall/clarity/)[Code style](https://quotesby.net/Larry-Wall/code-style/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIf%20you%20want%20your%20program%20to%20be%20readable%2C%20consider%20supplying%20the%20argument.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F269%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIf%20you%20want%20your%20program%20to%20be%20readable%2C%20consider%20supplying%20the%20argument.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F269%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F269%2F)

## About this quote

What does it mean?Providing the argument makes code more readable.In plain termsExplicit arguments aid understanding.What can you take from it?Always supply arguments for clarity.

### Where it applies

- API design
- function calls

### Putting it to work

- use named parameters
- document defaults

### Questions to consider

- When is omitting an argument acceptable?
- How do you document optional parameters?

### Another view

Sometimes arguments are optional and can be omitted for brevity.

## More from Larry Wall

1. > Help save the world!

[Permalink to quote \#268](https://quotesby.net/Larry-Wall/268/ "Permalink to quote 268")
2. > In general, they do what you want, unless you want consistency.

[Permalink to quote \#270](https://quotesby.net/Larry-Wall/270/ "Permalink to quote 270")
3. > Even if you aren't in doubt, consider the mental welfare of the person who has to maintain the code after you, and who will probably put parens in the wrong pl…

[Permalink to quote \#267](https://quotesby.net/Larry-Wall/267/ "Permalink to quote 267")

## Related quotes

1. > We toast the Lisp programmer who pens his thoughts within nests of parentheses.

[Alan Perlis](https://quotesby.net/Alan-Perlis)[Alan Perlis quote \#2](https://quotesby.net/Alan-Perlis/2/ "Permalink to quote 2")
2. > I'm sure that that could be indented more readably, but I'm scared of the awk parser.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#11](https://quotesby.net/Larry-Wall/11/ "Permalink to quote 11")
3. > Though I'll admit readability suffers slightly...

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#25](https://quotesby.net/Larry-Wall/25/ "Permalink to quote 25")

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "If you want your program to be readable, consider supplying the argument.",
    "url": "https://quotesby.net/Larry-Wall/269/",
    "spokenByCharacter": {
        "@type": "Person",
        "name": "Larry Wall"
    }
}
{
    "@context": "https://schema.org",
    "@type": "BreadcrumbList",
    "itemListElement": [
        {
            "@type": "ListItem",
            "position": 1,
            "name": "Home",
            "item": "https://quotesby.net/"
        },
        {
            "@type": "ListItem",
            "position": 2,
            "name": "Authors",
            "item": "https://quotesby.net/authors/"
        },
        {
            "@type": "ListItem",
            "position": 3,
            "name": "Larry Wall",
            "item": "https://quotesby.net/Larry-Wall"
        },
        {
            "@type": "ListItem",
            "position": 4,
            "name": "Quote #269",
            "item": "https://quotesby.net/Larry-Wall/269/"
        }
    ]
}
```
