|
Re: AC Codin' Style[ was lug-bg: Kernel 2.4.11]
- Subject: Re: AC Codin' Style[ was lug-bg: Kernel 2.4.11]
- From: jordan@xxxxxxxxx (Jordan Dimitrov)
- Date: Fri, 12 Oct 2001 00:11:28 +0100 (BST)
> From: Àíãåë Âúëêîâ <whitefang@xxxxxx>
> Date: Thu, 11 Oct 2001 19:23:06 +0300
>
> Heh
> Ami vseki si ima style :)
[del]
> if( !SUCCEDED(1)) if( SUCCEDED(1)
> goto fail1 if(SUCCEDED(2))
> if( !SUCCEDED(2) if(SUCCEDED(3))
> goto fail2 return SUCCESS;
> if( !SUCCEDED(3) else {
> goto fail3; RELEASE(2);
> RELEASE(1);
> return SUCCESS; return FAILED;
> fail3: RELEASE(2) }
> fail2: RELEASE(1) else {
> fail1: return FAILED; RELEASE(1);
> return FAILED;
> }
> else
> return FAILED;
Ama che kod, ama che chudo! Abe hora, vie za buleva algebra ne ste li
chuwali? Ami ako trjabwa formalno da se *dokazhe*, che dadena programa
udowoletvorjawa zadadena specifikacija? Goto razbiwa *logikata* na
programata i e opasen operator! Towa obache ne kazwa, che ne trjabwa da
se izpolzwa. Ako si go hareswate, izpolzwajte si go. Samo deto ne
pishete 1000+ reda kod za da ni ubezhdawate kolko e hubaw goto i kak
sweta ne mozhe bez nego.
============
Jordan (at home)
http://www.cse.dmu.ac.uk/~jordan/
===========================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers)
http://www.linux-bulgaria.org/ Hosted by Internet Group Ltd. - Stara Zagora
|
|
|