in reply to Re: Sentances from arrays
in thread Sentances from arrays

Personally, I don't like if's. In my mind, they make code harder to read by forcing you to think your way through them. While they are appropriate in other cases, in this case I believe merlyn is clearer.

=IndyZ

Replies are listed 'Best First'.
Re: Re: Re: Sentances from arrays
by myocom (Deacon) on Nov 28, 2000 at 05:01 UTC

    To each his own, natch. For me, at least, it's easier to parse the if's, since it's more English-like. I can parse it by reading it aloud.

    I find it harder to pronounce the ? : version, though I appreciate its elegance.