Path: utzoo!mnetor!uunet!husc6!sri-unix!quintus!sun!decwrl!pyramid!prls!philabs!pwa-b!mmintl!franka From: franka@mmintl.UUCP (Frank Adams) Newsgroups: comp.lang.c Subject: Re: The D Programming Language: switches Message-ID: <2772@mmintl.UUCP> Date: 17 Mar 88 15:56:04 GMT References: <222965b9@ralf.home> <941@micomvax.UUCP> Reply-To: franka@mmintl.UUCP (Frank Adams) Organization: Ashton-Tate Corporation, East Hartford Development Center Lines: 26 In article <941@micomvax.UUCP> ray@micomvax.UUCP (Ray Dunn) writes: >Case statements should just be generalised into a "shorthand" way of >stating if...elseif...elseif...else... Permit me to register my strong disagreement. if...elseif...elseif...else... should be written: if (...) { ... } else if (...) { ... } else if (...) { ... } else { ... } (positioning the brackets as you see fit. Please let's not start *that* discussion again!) Computer languages don't need two equally attractive ways to say the same thing. -- Frank Adams ihnp4!philabs!pwa-b!mmintl!franka Ashton-Tate 52 Oakland Ave North E. Hartford, CT 06108