Path: csiph.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: Niklas Karlsson Newsgroups: alt.folklore.computers,comp.os.linux.misc Subject: Re: The joy of FORTRAN Date: 3 Mar 2025 10:05:22 GMT Organization: Department of Redundancy Department Lines: 27 Message-ID: References: <5mqdnZuGq4lgwm_7nZ2dnZfqnPSdnZ2d@earthlink.com> <3hOdnWpQ649QMGr7nZ2dnZfqnPidnZ2d@earthlink.com> <1smdnSjX3YoxgWf7nZ2dnZfqn_idnZ2d@earthlink.com> <1396870532.749421730.052473.peter_flass-yahoo.com@news.eternal-september.org> <1214951717.762291306.657281.peter_flass-yahoo.com@news.eternal-september.org> X-Trace: individual.net e3K/BjSfi7IgOtOXZgmIzAue66ntGwZ+bqsWhbAGlSly81cr59 Cancel-Lock: sha1:GEvRenUoFCf7/mdRHA7Un1WVoXg= sha256:3dUqTxA2F+y/73qolIfzT2rdlsw2rJgb1ByrPRLNOnA= User-Agent: slrn/1.0.3 (Linux) Xref: csiph.com alt.folklore.computers:230285 comp.os.linux.misc:65974 On 2025-03-02, c186282 wrote: > So : > > if(x>y) > { > ..... > } > else > { > ..... > } > > I pref to not put the leading bracket on the > same line as the 'if' or 'else' because then > it's easier to pick out the block by eye - > just look for the '{' on the left. Some would probably get on your case for being profligate with vertical space... but honestly, it doesn't much matter with the kind of screen real estate we have these days. I do agree that your style has readability benefits. Niklas -- Cool. I've just witnessed someone try to do an imitation of a supernova. Go on, do a quasar next, it's my favourite. -- Malcolm Ray