Sujet : Re: The joy of FORTRAN
De : invalid (at) *nospam* invalid.invalid (Richard Kettlewell)
Groupes : alt.folklore.computers comp.os.linux.miscDate : 04. Mar 2025, 09:44:59
Autres entêtes
Organisation : terraraq NNTP server
Message-ID : <wwvldtli3qs.fsf@LkoBDZeT.terraraq.uk>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
User-Agent : Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
The Natural Philosopher <
tnp@invalid.invalid> writes:
On 03/03/2025 19:19, rbowman wrote:
On Mon, 3 Mar 2025 15:24:04 +0000, The Natural Philosopher wrote:
On 03/03/2025 10:05, Niklas Karlsson wrote:
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.
>
Yes. Back in the day when I debugged with 80 column dot matrix
printouts, it got messy.
To day with collapsible blocks on a gui it's a lot easier
I still prefer statements that don't exceed 80 columns.
So do I but it gets unavoidable when toy are passing sixty plus
variables to a function.
In C, long before that point, you switch to a struct containing the
arguments and pass (a pointer to) that instead, not because of column
limits but so that the arguments can have names, rather than having to
count through them all to see which is which.
When it comes to column widths all I really want is for a side-by-side
diff to fit on my screen. Since I have an ultrawide monitor it’s not a
difficult constraint to meet.
(There can be other reasons for choosing layouts that don’t fully
exploit the available width, though.)
-- https://www.greenend.org.uk/rjk/