---
title: "It won't be covered in the book. The source code has to be useful for… — Larry Wall Quote #15 | QuotesBy.net"
description: "It won't be covered in the book. The source code has to be useful for something, after all... :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # It won't be covered in the book. The source code has to be useful for something, after all... :-)

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

[Coding](https://quotesby.net/Larry-Wall/coding/)[Documentation](https://quotesby.net/Larry-Wall/documentation/)[Best practices](https://quotesby.net/Larry-Wall/best-practices/)[Source](https://quotesby.net/topics/source/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CIt%20won%27t%20be%20covered%20in%20the%20book.%20The%20source%20code%20has%20to%20be%20useful%20for%20something%2C%20after%20all...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F15%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CIt%20won%27t%20be%20covered%20in%20the%20book.%20The%20source%20code%20has%20to%20be%20useful%20for%20something%2C%20after%20all...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F15%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F15%2F)

## About this quote

What does it mean?The source code must be useful, so it won’t be omitted from the book.In plain termsUseful code is always documented.What can you take from it?Make code purposeful and readable.

### Where it applies

- writing libraries
- maintaining projects

### Putting it to work

- add comments
- provide examples

### Questions to consider

- What makes code useful enough to document?
- How do you balance brevity and clarity?

### Another view

Not all useful code gets proper documentation.

## More from Larry Wall

1. > It's documented in The Book, somewhere...

[Permalink to quote \#14](https://quotesby.net/Larry-Wall/14/ "Permalink to quote 14")
2. > Dan Smith: I've tried (in vi) 'g/\[a-z\] \[a-z\]/s//\_/'...but that doesn't cut it. Any ideas? (I take it that it may be a two-pass sort of solution). Larry Wall: I…

[Permalink to quote \#16](https://quotesby.net/Larry-Wall/16/ "Permalink to quote 16")
3. > It's all magic. :-)

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

## Related quotes

1. > History a distillation of rumor.

[Thomas Carlyle](https://quotesby.net/Thomas-Carlyle)[Thomas Carlyle quote \#62](https://quotesby.net/Thomas-Carlyle/62/ "Permalink to quote 62")
2. > Quoted in Representative Men: Uses of Great Men by Ralph Waldo Emerson

[Napoleon Bonaparte](https://quotesby.net/Napoleon-Bonaparte)[Napoleon Bonaparte quote \#205](https://quotesby.net/Napoleon-Bonaparte/205/ "Permalink to quote 205")
3. > That being said, I think we should immediately deprecate any string concatenation that combines '19' with '99'. :-)

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "It won't be covered in the book. The source code has to be useful for something, after all... :-)",
    "url": "https://quotesby.net/Larry-Wall/15/",
    "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 #15",
            "item": "https://quotesby.net/Larry-Wall/15/"
        }
    ]
}
```
