Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84; site bocklin.UUCP Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!mcnc!philabs!cmcl2!seismo!hao!noao!arizona!bocklin!rogerh From: rogerh@bocklin.UUCP Newsgroups: net.lang.c Subject: condition convention Message-ID: <137@bocklin.UUCP> Date: Tue, 23-Apr-85 13:56:25 EST Article-I.D.: bocklin.137 Posted: Tue Apr 23 13:56:25 1985 Date-Received: Fri, 26-Apr-85 05:38:38 EST References: Reply-To: rogerh@bocklin.UUCP (Roger Hayes) Organization: Dept of CS, U of Arizona, Tucson Lines: 6 To prevent silly mistakes like if (j = 10) I usually write if (10 == j) By putting the constant first, I ensure that the compiler will catch the typo.