---
title: "Be consistent. — Larry Wall Quote #265 | QuotesBy.net"
description: "Be consistent. — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # Be consistent.

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Style](https://quotesby.net/Larry-Wall/style/)[Best practices](https://quotesby.net/Larry-Wall/best-practices/)[Consistency](https://quotesby.net/Larry-Wall/consistency/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CBe%20consistent.%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F265%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CBe%20consistent.%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F265%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F265%2F)

## About this quote

What does it mean?Consistency in code style and behavior is important.In plain termsKeep things uniform.What can you take from it?Follow consistent conventions.

### Where it applies

- team projects
- large codebases

### Putting it to work

- adopt a style guide
- use linters

### Questions to consider

- When should you break consistency for clarity?
- What balance works best?

### Another view

Strict consistency can stifle useful flexibility.

## More from Larry Wall

1. > /\* This bit of chicanery makes a unary function followed by a parenthesis into a function with one argument, highest precedence. \*/

[Permalink to quote \#264](https://quotesby.net/Larry-Wall/264/ "Permalink to quote 264")
2. > Does the same as the system call of that name. If you don't know what it does, don't worry about it.

[Permalink to quote \#266](https://quotesby.net/Larry-Wall/266/ "Permalink to quote 266")
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. > The problem with being consistent is that there are lots of ways to be consistent, and they're all inconsistent with each other.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#289](https://quotesby.net/Larry-Wall/289/ "Permalink to quote 289")
2. > We've been remarkably consistent, haven't lost a game and we have played stylish football. We have entertained people who just love football.

[Arsene Wenger](https://quotesby.net/Arsene-Wenger)[Arsene Wenger quote \#2](https://quotesby.net/Arsene-Wenger/2/ "Permalink to quote 2")
3. > You want it in one line? Does it have to fit in 80 columns? :-)

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "Be consistent.",
    "url": "https://quotesby.net/Larry-Wall/265/",
    "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 #265",
            "item": "https://quotesby.net/Larry-Wall/265/"
        }
    ]
}
```
