[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My First Computer



In article <86el6ggyeo.fsf@raw.grenland.fast.no>,
Raymond Wiker  <Raymond.Wiker@fast.no> wrote:
 
> Anyway, using while() or for() to implement this is silly: C
> *has* goto :-)
 
Apparently you're a supporter of "spaghetti programming"..... :-)
 
Yes, C has goto, and there are valid uses for goto in C, however
replacing a while or for loop is not one of them.  True, C doesn't
prevent you to do it, because it uses the philosophy "Trust the
programmer" -- and untrustworthy programmers can do a lot of horrible
things in C.  Such programmers should stick to e.g. Java instead.....
:-)
 
-- 
----------------------------------------------------------------
Paul Schlyter,  Swedish Amateur Astronomer's Society (SAAF)
Grev Turegatan 40,  S-114 38 Stockholm,  SWEDEN
e-mail:  pausch at saaf dot se
WWW:     http://hem.passagen.se/pausch/index.html
         http://home.tiscali.se/~pausch/