[Oberon] a module a page (keeps the mind sane)?

Paul Reed paulreed at paddedcell.com
Sat Nov 3 15:55:32 CET 2018


Hi Frans-Pieter,

> Does anyone remember where Niklaus mentions the ' one page of code, one
> module ' rule?

When you originally asked this (on this list in December 2015, can't
believe it was that long ago!) :) I asked a colleague and he couldn't
remember where he had read it either.

But asked again and intrigued, he embarked on a browse of his dead-tree
library and eventually conceded that what he had probably remembered, or
at least the closest thing he could find, was

"The Elements of Programming Style", 2nd Edition (Kernighan and Plauger),
page 150, bottom two lines:-

"The modularization would have the advantage that each part of the program
would fit comfortably on one page."

(BTW Google indicates that the Università di Pisa seems to have a PDF of
this book on its server for course materials, but I'm not sure what the
copyright status is...)

I'm reminded of the fact that it often really doesn't matter who said it. 
The (rather topical, albeit now-sexist) quote "The only thing necessary
for the triumph of evil is for good men to do nothing" is, according to
the UK Independent newspaper, often "attributed to [the 18th Century Irish
politician] Edmund Burke, including by John F Kennedy in a speech in 1961.
 [But] Burke didn’t say it [although certainly he could have done], and
its earliest form was by John Stuart Mill, who said in 1867: 'Bad [people]
need nothing more to compass their ends, than that good [people] should
look on and do nothing.'"

Cheers,
Paul




More information about the Oberon mailing list