From: Christopher Dimech <dimech@gmx.com>
To: tomas@tuxteam.de
Cc: help-gnu-emacs@gnu.org
Subject: Quote by Knuth
Date: Mon, 19 Jul 2021 10:05:28 +0200 [thread overview]
Message-ID: <trinity-2457ee4c-83d5-4bce-8bbb-df8d6428f732-1626681928020@3c-app-mailcom-bs09> (raw)
In-Reply-To: <20210719070707.GA2832@tuxteam.de>
> Sent: Monday, July 19, 2021 at 7:07 PM
> From: tomas@tuxteam.de
> To: help-gnu-emacs@gnu.org
> Subject: Re: Quote by Knuth
>
> On Mon, Jul 19, 2021 at 12:14:18AM +0200, Emanuel Berg via Users list for the GNU Emacs text editor wrote:
> > Christopher Dimech wrote:
> >
> > > Literate programming is an enhanced macro substitution
> > > package tuned to the task of rearranging source code.
> >
> > We know what a macro is but what is literate programming
> > except it relies on macros? Does it rely to macros MORE than
> > everyday programming, including programming that uses macros,
> > or are the macros CLOSER to natural languages, maybe?
>
> This discussion is so full of category errors that it's difficult
> to say anything relevant anymore. Let me pick two senses for
> the term "literate programming":
>
> "Literate programming" is a pretty generic term. The most you
> can say about it is that it tries to combine "writing for humans"
> ("literature") and "writing for machines" ("programming"). Talking
> about macros in this context would be a category error [0] like
> saying "Colorless green ideas sleep furiously".
>
> "Literate programming" as coined by Knuth (no, Mr. Dimech, you
> probably won't be interested -- for me, you can't overstate Knuth
> too much) is /technically/ based on WEB, which is a text substitution
> system, so can be regarded as a macro [1] system. If you look closely,
> TeX [2] and METAFONT [3] are "text substitution systems" a.k.a.
> macro [4] expanders.
PS: Thousands of other people have a doctorate in mathematics apart from Knuth.
But I have read Knuth's papers and understand exactly his position on what
is literate programming. He mas not combining "writing for humans"
("literature") and "writing for machines" (programming). He wanted programming
to be like literature. Thusly I am in disagreement with him.
Without Knuth others would have delved into the analysis of algorithms.
Mostly it is about the development of tex everybody gets fired about.
Without tex, few would have heard of him. Still, mathematical typesetting
already existed before Knuth. In actual fact, he got all his ideas from
the typesetting that already existed. In "Mathematical Typography," Bulletin
of the American Mathematical Society, March 1979, Vol. 1, No. 2, 337-72; he stated
that his typesetting ideas originated from the Transactions of the American Mathematical
Society, which began publication in 1900; and some other journal (a dutch one if I remember).
And, let us not deny it, with a lot of help from Guy Steele.
I remember him getting annoyed that the delta was ugly, and couldn't stand to write
papers using that symbol. Now, he can't stand to read papers that still use it the
old delta.
> It was the rage among some computer scientists of that time (1980s),
> and Donald Knuth seems to have been interested in them back then.
>
> So yes, in the second, strict, sense macros do play a role. By the
> way, and to try to put things on-topic (hope? HAH!), noweb is also
> a text expansion machinery, inspired... yes, on Knuth's WEB. Go
> figure.
TeX has got people to focus on pretty printing, which is what typesetting is mainly
about. But structural and semantic info are receiving greater and greater awareness
as opposed to formatting or displaying aspects. LaTeX mended some of the problems with
TeX by turning a pretty printing system into a structured documentation system.
Today, I criticise how texinfo continues using Tex for its formatting engine, rather than
getting rewritten over either a LaTex engine or an improvement of it.
> Cheers
>
> [0] https://en.wikipedia.org/wiki/Category_error
> [1] https://en.wikipedia.org/wiki/WEB
> [2] https://en.wikipedia.org/wiki/TeX
> [3] https://en.wikipedia.org/wiki/METAFONT
>
> - tomás
>
next prev parent reply other threads:[~2021-07-19 8:05 UTC|newest]
Thread overview: 87+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-07-05 14:37 append, push, and add-to-list Drew Adams
2021-07-05 14:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 15:19 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-05 16:18 ` [External] : " Drew Adams
2021-07-05 16:46 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 19:54 ` Jean Louis
2021-07-06 20:08 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 15:41 ` tomas
2021-07-05 16:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 17:21 ` tomas
2021-07-06 1:17 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 18:10 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 18:18 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 18:11 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 18:39 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-05 20:35 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 19:57 ` Jean Louis
2021-07-06 20:16 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 19:56 ` Jean Louis
2021-07-06 20:15 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 19:51 ` Quote by Knuth Jean Louis
2021-07-06 20:06 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 21:57 ` Christopher Dimech
2021-07-06 22:16 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-06 22:26 ` Alexandre Garreau
2021-07-06 23:21 ` Christopher Dimech
2021-07-14 16:09 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 17:37 ` Christopher Dimech
2021-07-14 17:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-15 3:08 ` Christopher Dimech
2021-07-18 22:25 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-20 17:18 ` Christopher Dimech
2021-07-14 16:02 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 16:20 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 17:41 ` Christopher Dimech
2021-07-14 17:43 ` Christopher Dimech
2021-07-14 17:49 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-15 3:05 ` Christopher Dimech
2021-07-15 6:50 ` tomas
2021-07-15 6:55 ` Christopher Dimech
2021-07-15 7:11 ` tomas
2021-07-15 10:55 ` Christopher Dimech
2021-07-18 22:23 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-20 17:22 ` Christopher Dimech
2021-07-18 22:20 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-20 17:27 ` Christopher Dimech
2021-07-14 19:24 ` Jean Louis
2021-07-14 20:15 ` Christopher Dimech
2021-07-14 20:30 ` Marcin Borkowski
2021-07-14 20:58 ` Christopher Dimech
2021-07-14 22:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 21:04 ` Christopher Dimech
2021-07-14 23:05 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 22:53 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-15 6:06 ` Marcin Borkowski
2021-07-15 6:21 ` Christopher Dimech
2021-07-17 18:43 ` Marcin Borkowski
2021-07-18 7:41 ` Christopher Dimech
2021-07-18 11:50 ` Jean Louis
2021-07-18 13:17 ` Christopher Dimech
2021-07-18 13:41 ` Jean Louis
2021-07-18 17:57 ` Christopher Dimech
2021-07-18 23:25 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-20 16:27 ` Christopher Dimech
2021-07-20 16:39 ` Christopher Dimech
2021-07-18 22:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-20 16:41 ` Christopher Dimech
2021-07-18 22:54 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-20 17:10 ` Christopher Dimech
2021-07-18 13:54 ` Christopher Dimech
2021-07-18 22:37 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-18 22:34 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 22:43 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-14 22:31 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-15 2:58 ` Christopher Dimech
2021-07-15 6:43 ` Eli Zaretskii
2021-07-18 22:14 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-19 7:07 ` tomas
2021-07-19 8:05 ` Christopher Dimech [this message]
2021-07-21 4:52 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-21 8:55 ` Christopher Dimech
2021-07-21 4:28 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-21 8:42 ` Gregory Heytings
2021-07-19 8:44 ` lisa-asket
2021-07-06 21:34 ` Christopher Dimech
2021-07-05 16:19 ` [External] : Re: append, push, and add-to-list Drew Adams
2021-07-05 16:41 ` Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=trinity-2457ee4c-83d5-4bce-8bbb-df8d6428f732-1626681928020@3c-app-mailcom-bs09 \
--to=dimech@gmx.com \
--cc=help-gnu-emacs@gnu.org \
--cc=tomas@tuxteam.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).