[LUAU] Re: Python (Was Re: Hosef)

Jimen Ching jching at flex.com
Fri Nov 25 13:28:43 PST 2005


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)      jching at flex.com     wh6brr at uhm.ampr.org



More information about the LUAU mailing list