Path: ...!news.mixmin.net!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: rbowman Newsgroups: comp.os.linux.misc Subject: Re: The joy of FORTRAN Date: 2 Mar 2025 07:53:35 GMT Lines: 10 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> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Trace: individual.net 4Rgv1uJX28DqtKWOlmN2cQVJTcizNIuTbO6IslF3mL7NmofGUu Cancel-Lock: sha1:X1i2tw9T/rZKLEZQptoVpwf550c= sha256:+1b7lnQp3sstvf5uRE46MtWGT0m/jNzeOY2wxtXslHI= User-Agent: Pan/0.160 (Toresk; ) Bytes: 2151 On Sun, 2 Mar 2025 00:17:39 -0500, c186282 wrote: > 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. I tend to put them after to make the code a little more compact. It's easy enough to bounce between the corresponding braces in vim. The exception is for complex for statements where the initialization, test, and increment are on three lines.