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

I LOVE COND



Why would anyone argue about IF when COND solved the conditional
problem forever?  No dangling elses, no begin-end pairs.  It's
perfect.  The only tiny flaw is that its syntax tempts you to
code something that really ought to be
    (COND (a (COND (b ...)
                   (T ...)))
          (T (COND (b ...)
                   (T ...))))
as
   (COND (a (COND (b ...)
                  (T ...)))
         (b ...)
         (T ...)   )
thus hiding the symmetry.  Would that all programming constructs suffered
only from flaws like this.
-------