On Wed, 23 Nov 2005, Tim Newsham wrote:
>I always found "continue" to be a lot more explicit in situations
>like this:
>
>      while(*s++ = *t++)
>          continue;
>
>the empty semi-colon being the least attractive alternative (did
>he really mean to leave the body empty?  not to mention the greener
>programmer will easily overlook the semicolon).

I'm curious, can you give an example of where someone forgot to type in a
statement, but remembered to type the semicolon?  Could programming be so
second nature to someone that they place a semicolon after a while loop
expression without thinking?

--jc
-- 
Jimen Ching (WH6BRR)      [EMAIL PROTECTED]     [EMAIL PROTECTED]

Reply via email to