Re: Critique
- From: rlb@xxxxxxxxxxxxxxxxxxxxxx (Richard Bos)
- Date: Thu, 14 Apr 2005 14:16:13 GMT
CBFalconer <cbfalconer@xxxxxxxxx> wrote:
> Since we are no longer using line oriented editors there is no
> penalty to be paid for writing main first, and then moving above it
> to create the various subroutines.
Yes, there is: it makes reading the code less straightforward, at least
IMO. I don't know about you, but I prefer to have the most high-level
material first, and the more specific parts after that, in any kind of
text, not just code. Thus, code in which main() comes first, followed by
the lower level functions, is more readily understandable by me than the
other way around.
Richard
.
- Follow-Ups:
- Re: Critique
- From: Chris Croughton
- Re: Critique
- From: Christopher Benson-Manica
- Re: Critique
- References:
- Critique
- From: Andrew Clark
- Re: Critique
- From: Emmanuel Delahaye
- Re: Critique
- From: Christian Kandeler
- Re: Critique
- From: CBFalconer
- Critique
- Prev by Date: Re: Input unknown number of integers in a line...
- Next by Date: Re: Critique
- Previous by thread: Re: Critique
- Next by thread: Re: Critique
- Index(es):
Relevant Pages
|
Loading