Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.

7 +/- 2 : a correspondence

1 view
Skip to first unread message

Leo Wong

Nov 9, 2006, 10:15:53 AM11/9/06
Readers of this news group might enjoy this exchange of letters:

Leo Wong

Neal Bridges

Nov 9, 2006, 5:26:00 PM11/9/06
"Leo Wong" <> wrote in message

As Miller confirms in that exchange, 7 +/- 2 is "a limit for immediate
recall", which is how it applies to Forth definitions.

Neal Bridges
Quartus Handheld Software

Krishna Myneni

Nov 10, 2006, 2:31:04 PM11/10/06

Thanks Leo. I enjoyed reading your subtle jab at the posters in this
newsgroup. Most of us, at one time or another, are prone to be a
"pretentious know-it-all".


Nov 15, 2006, 5:58:31 AM11/15/06

Leo Wong wrote:
> Readers of this news group might enjoy this exchange of letters:

the point was that 7 was a limit for the discrimination of
unidimensional stimuli (pitches, loudnesses, brightnesses, etc.) and
also a limit for immediate recall, neither of which has anything to do
with a person's capacity to comprehend printed text.
--end quote--

So, the code deserves a separate study.

But if we consider debugging and reading the code....

For code to be reviewable, the 7+-2 rule is required. (the reader must
reconstruct all relations)
(NOTE: 7+-2 relations between items rather than items themselves)

YES, THAT IS IT: the relations between code items ARE UNWRITTEN.
One has to reconstruct them each time reading the code.

For code to be just readable, 7+-2 is not required.

In particular, if the code already works, you do not need to refactor
But if the code has not yet been debugged, it is meaningful to break it
into smaller parts.
(And it is meaningful to postpone refactoring till the moment it will
be really needed,
unless you feel that you still remember how the code works and it will
not be true later.)

0 new messages