Re: [OFFTOPIC] CompSci class question

new topic     » goto parent     » topic index » view thread      » older message » newer message

In the Ada-class I'm taking, they try to convince us that using "exit" is
sloppy coding..

My_loop:
while (condition) loop
  if time_to_split then
    exit My_loop;
  end if;
end loop;

sloppy, eh? damn those proffessors, think they're smart or something :)



_________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.

Share information about yourself, create your own public profile at
http://profiles.msn.com.

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu