The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

code styles by dennismv2004-12-30 06:44:05
  First. by Brainbug2004-12-30 06:50:44
    See, I just don't like typing "break" on a Windows by tnglives2004-12-30 07:05:59
      it can be rewritten without break by dennismv 2004-12-30 07:17:30
It's possible to rewrite the 2nd version like this:
bool keepgoing=true;
while (keepgoing)
{
    x();
    if (condition()==false) 
        keepgoing=false; 
    if (keepgoing)
        y();
}
but now it's even harder to read I suppose..
[ Reply ]
        Flags are evil. by Didactylos2004-12-30 08:53:35

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)