Subj : Re: Syntax, style, the infinite monkey theorum and coding To : comp.programming From : Ed Prochak Date : Mon Aug 22 2005 12:50 pm Chris Sonnack wrote: > gswork@mailcity.com writes: > > >> how about a C program with a seven page while() loop where the > >> condition on the while() loop was seven full lines long (where full > >> means about 70 characters per line, not counting whitespace)? > > > > I like the idea that a condition can be seven lines long! Now > > that's a condition! > > I wonder if there wouldn't have been some way to abstract away some > of the predicates into functions. Even if there were a lot of > predicates, You're on the right tract Chris. It was a single application that SHOULD have been coded as three applications. Sadly (or luckily), I left before I had a chance to rewrite the whole thing. But it definitely had that monkey code look. ed .