From: Paul Duncan Date: 2002-09-11T22:38:45+09:00 Subject: Re: Ruby aesthetics * Gavin Sinclair (gsinclair@soyabean.com.au) wrote: > > ----- Original Message ----- > From: "William Djaja Tjokroaminata" > > > > Hi, > > > > Taking "if" and "unless" as the example, the point to be made is that I > > think we can make a judgment whether "unless" really contributes to the > > expressiveness of a programming language, independent of whether it is a > > built-in keyword in the language itself or not. > > > > If we say yes, then in Ruby we will use both "if" and "unless", but then > > because "unless" is so useful, when we code in C, we are supposed to > > define the "unless macro" and make good use of both "if" and "unless". > > No, we stop programming in C because it doesn't have "unless". #define unless(a) if (!(a)) > Gavin -- Paul Duncan pabs in #gah (OPN IRC) http://www.pablotron.org/ OpenPGP Key ID: 0x82C29562