[r6rs-discuss] [Formal] Remove the (r6rs when-unless) library

From: R. Kent Dybvig <dyb>
Date: Mon Mar 12 16:04:50 2007

> You mean that you consider the advantage more than "little"?

Yes.

> > I believe that when and unless make the programmers intent
> > immediately clear while one-armed if can be mistaken on first glance
> > for a two-armed if.
>
> That never happens to me on code that follows the indentation
> guidelines we set examples for in the report. If indentation
> guidelines aren't followed, all bets seem to be of even with `when'
> and `unless'.

That's certainly true for one-armed if expressions that span several
lines. I'm sure you'll agree that one-armed if expressions that appear
only on one line or span many lines are more difficult to distinguish from
two-armed if expressions.

Kent
Received on Mon Mar 12 2007 - 16:04:16 UTC

This archive was generated by hypermail 2.3.0 : Wed Oct 23 2024 - 09:15:01 UTC