TIP: Click on subject to list as thread! ANSI
echo: os2prog
to: Jonathan de Boyne Pollard
from: jari laaksonen
date: 1997-01-27 23:24:32
subject: writing REXX DLL`s

>> if (terminating) {}
>> else {}
>>
>> is clearer, [...]

JP> Personally, I don't see any difference in clarity between the two,
JP> and generally choose whichever way around happens to be best so that
JP> the "later" or the "unusual" case comes in the
`else' statement. I
JP> certainly don't regard it as bad style, or even a style problem at
JP> all.

It's the same as in spoken language: positive expressions are easier to
understand and follow than negative.


        // Albert                      email: jla{at}to.icl.fi

--- GoldED/2 2.50+
* Origin: Albert's Point/2 in Finland, Europe (2:221/360.20)
SEEN-BY: 50/99 54/99 270/101 620/243 625/160 711/401 413 430 934 712/311 407
SEEN-BY: 712/505 506 517 623 624 704 713/317 800/1
@PATH: 221/0 22/10 220/851 222/0 210/27 24/888 396/1 270/101 712/624 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.