RE: [stella] OT: Programming, CS theory

Subject: RE: [stella] OT: Programming, CS theory
From: Chris Wilkson <ecwilkso@xxxxxxx>
Date: Thu, 25 Oct 2001 22:53:49 -0400 (EDT)
On Thu, 25 Oct 2001, Glenn Saunders wrote:

> >>
> for(++i;i<lseek(fp)) {i+=lseek(fp+i)};
> <<
>
> I hate this crap.

For the love of god!!!!  I hate that too.  But then, and "high level"
coding I do is in Perl, so....    :P

> if (a)
> {
>   b = 1;
> }
> else
> {
>   b = 2;
> }

On the subject of readability, white space is a Good Thing(tm).
One should indent, too:

if (a)
    {
        b = 1;
    }
else
    {
        b = 2;
    }

In this case, it doesn't really help much.  One might argue that it actually
hurts.  But when you have nested loops and other nastiness, this is priceless.

-Chris


-
Archives (includes files) at http://www.biglist.com/lists/stella/archives/
Unsub & more at http://www.biglist.com/lists/stella/

Current Thread