---
title: "There are probably better ways to do that, but it would make the pars… — Larry Wall Quote #23 | QuotesBy.net"
description: "There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-) — a quote by Larry Wall."
image: "https://quotesby.net/wp-content/themes/quotesby-editorial/assets/og-default.png"
---

> # There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-)

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

[Programming](https://quotesby.net/Larry-Wall/programming/)[Design](https://quotesby.net/Larry-Wall/design/)[Complexity](https://quotesby.net/Larry-Wall/complexity/)[Software design](https://quotesby.net/Larry-Wall/software-design/)[Software engineering](https://quotesby.net/Larry-Wall/software-engineering/)[Parsing](https://quotesby.net/Larry-Wall/parsing/)

[WhatsApp (opens in a new tab)](https://wa.me/?text=%E2%80%9CThere%20are%20probably%20better%20ways%20to%20do%20that%2C%20but%20it%20would%20make%20the%20parser%20more%20complex.%20I%20do%2C%20occasionally%2C%20struggle%20feebly%20against%20complexity...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall%20https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F23%2F)[X (opens in a new tab)](https://twitter.com/intent/tweet?text=%E2%80%9CThere%20are%20probably%20better%20ways%20to%20do%20that%2C%20but%20it%20would%20make%20the%20parser%20more%20complex.%20I%20do%2C%20occasionally%2C%20struggle%20feebly%20against%20complexity...%20%3A-%29%E2%80%9D%20%E2%80%94%20Larry%20Wall&url=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F23%2F)[Facebook (opens in a new tab)](https://www.facebook.com/sharer/sharer.php?u=https%3A%2F%2Fquotesby.net%2FLarry-Wall%2F23%2F)

## About this quote

What does it mean?The author acknowledges that simpler solutions exist but prefers a more complex parser, noting his occasional struggle with complexity.In plain termsHe knows there are easier ways but chooses a more complex approach, and it can be hard.What can you take from it?Balance simplicity and functionality when designing tools.

### Where it applies

- writing a new parser
- refactoring code

### Putting it to work

- choose the simplest solution that meets requirements
- document complexity reasons

### Questions to consider

- When is added complexity justified?
- How can you mitigate future maintenance issues?

### Another view

Complex solutions can become hard to maintain over time.

## More from Larry Wall

1. > The only disadvantage I see is that it would force everyone to get Perl. Horrors. :-)

[Permalink to quote \#22](https://quotesby.net/Larry-Wall/22/ "Permalink to quote 22")
2. > There are still some other things to do, so don't think if I didn't fix your favorite bug that your bug report is in the bit bucket. (It may be, but don't thin…

[Permalink to quote \#24](https://quotesby.net/Larry-Wall/24/ "Permalink to quote 24")
3. > Real programmers can write assembly code in any language. :-)

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

## Related quotes

1. > OOP to me means only messaging, local retention and protection and hiding of state-process, and extreme late-binding of all things. It can be done in Smalltalk…

[Alan Kay](https://quotesby.net/Alan-Kay)[Alan Kay quote \#7](https://quotesby.net/Alan-Kay/7/ "Permalink to quote 7")
2. > A 'goto' in Perl falls into the category of hard things that should be possible, not easy things that should be easy.

[Larry Wall](https://quotesby.net/Larry-Wall)[Larry Wall quote \#112](https://quotesby.net/Larry-Wall/112/ "Permalink to quote 112")
3. > The choice of approaches could be made the responsibility of the programmer.

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

```json
{
    "@context": "https://schema.org",
    "@type": "Quotation",
    "text": "There are probably better ways to do that, but it would make the parser more complex. I do, occasionally, struggle feebly against complexity... :-)",
    "url": "https://quotesby.net/Larry-Wall/23/",
    "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 #23",
            "item": "https://quotesby.net/Larry-Wall/23/"
        }
    ]
}
```
