From Bill Birrell · 1996-04-05 16:30 · #75226 in R25C
In reply to Re: comments etc by Pat Winstanley
Hey Pat,
> A trick I picked up from somewhere is to write
> pseudocode as a series of one-line comments when
> designing an algorithm, but to write them *in* the
> code areas. These one-liners then describe the gist of
> the code filled in later.
I do that, too, but I usually get rid of the pseudocode once the algorithm is proved.
That reminds me. Vos 2 and 3 of Knuth surfaced in the sorting office, so I collected them yesterday. Now you know where they are if you don't feel like forking out 120 pounds (for all three). :-)
Vol 3 is primarily designed for mainframes, so perhaps it's less useful in this echo than Vol 1, but I'm not prejudiced either for or against any prticular hardware.
Regards,
Bill.
---
* Origin: bill@escan.demon.co.uk (2:2504/200)