Re: relief -- beauty and symmetry

Date view Thread view Subject view Author view

From: Godmar Back (gback@cs.utah.edu)
Date: Mon Dec 07 1998 - 23:33:55 EST


>
>
> It's some relief for me to see that this formatting wasn't really intended:
>
> ;-)
>
> public boolean booleanValue()
> {
> return (value);
> }
>

 But, it still perplexes me that some people do not see the beauty
of symmetry in an if/else construction:

    if (x) {

    } else { // Look at this line, it has all the symmetry of the world in it!

    }

How could you not see how beautifully the else links the else block to
the corresponding if? Just the '} else {' part is reminiscent of a
monkey wrench that screws the two parts together.

Whereas here:

    if (x) {

    } // now everybody think this the if's over.
    else { // so what is that? A dangling else?

    }


Date view Thread view Subject view Author view

This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:07 EDT