[TUHS] Dennis Ritchie's Dissertation
John Cowan
cowan at ccil.org
Fri Jul 31 10:54:54 AEST 2020
On Thu, Jul 30, 2020 at 8:36 PM Larry McVoy <lm at mcvoy.com> wrote:
Amen to that. Me too, I tried functional languages and my head hurt. C
> seems so natural to me.
>
IMO impure functional languages like Common Lisp, ML, Scheme, and the
somewhat ironically named Pure language are straightforward extensions of
imperative programming: you can make your code less imperative without
being completely deprived of it. All of these are tail-recursive (formally
CL is not, but most implementations are) which means that recursive loops
become non-recursive gotos, and for/do-loops wind up being pure without you
noticing.
John Cowan http://vrici.lojban.org/~cowan cowan at ccil.org
If a traveler were informed that such a man [as Lord John Russell] was
leader of the House of Commons, he may well begin to comprehend how the
Egyptians worshiped an insect. --Benjamin Disraeli
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://minnie.tuhs.org/pipermail/tuhs/attachments/20200730/bc8ffb9c/attachment.htm>
More information about the TUHS
mailing list