[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compiled version of awk program
From: |
arnold |
Subject: |
Re: Compiled version of awk program |
Date: |
Wed, 30 Jun 2021 02:04:49 -0600 |
User-agent: |
Heirloom mailx 12.5 7/5/10 |
I stand corrected. :-)
Thanks.
The Knuth paper is reprinted in his book "Literate Programmng" which
is very much worth owning.
Arnold
Bob Proulx <bob@proulx.com> wrote:
> arnold@skeeve.com wrote:
> > Bob Proulx <bob@proulx.com> wrote:
> > > "Premature optimization is the root of all evil." --Tony Hoare.
> >
> > It was Donald Knuth who said this, in his landmark paper
> > "Structured Programming With GOTO Statements". :-)
>
> I know that Knuth is famous for popularizing it. But I researched
> this before posting it. I could not find a free version of Knuth's
> paper but I found this reference.
>
> https://ubiquity.acm.org/article.cfm?id=1513451
>
> Every programmer with a few years' experience or education has
> heard the phrase "premature optimization is the root of all evil."
> This famous quote by Sir Tony Hoare (popularized by Donald Knuth)
> has become a best practice among software engineers.
> ...
> The second thing to note is that Hoare did not simply say,
> "Premature optimization is the root of all evil." He said, "We
> should forget about small efficiencies, say about 97% of the time:
> premature optimization is the root of all evil."
> ...
>
> According to stack exchange Knuth himself refers to this as "Hoare's Dictum".
>
>
> https://stats.stackexchange.com/questions/63968/optimization-the-root-of-all-evil-in-statistics
> Knuth refers to this as "Hoare's Dictum" 15 years later
>
> And that's really all I know about it!
>
> > Tony Hoare has other pithy statements to his credit, though.
>
> Both of them are masters! :-)
>
> Bob
- Compiled version of awk program, Peng Yu, 2021/06/29
- Re: Compiled version of awk program, Peng Yu, 2021/06/30
- Re: Compiled version of awk program, Wolfgang Laun, 2021/06/30
- Re: Compiled version of awk program, Peng Yu, 2021/06/30
- RE: Compiled version of awk program, pjfarley3, 2021/06/30
- Re: Compiled version of awk program, Peng Yu, 2021/06/30
- Re: Compiled version of awk program, Andrew J. Schorr, 2021/06/30