From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on ip-172-31-65-14.ec2.internal X-Spam-Level: X-Spam-Status: No, score=-0.9 required=3.0 tests=BAYES_00,XPRIO autolearn=no autolearn_force=no version=3.4.6 Path: eternal-september.org!reader02.eternal-september.org!.POSTED!not-for-mail From: "Randy Brukardt" Newsgroups: comp.lang.ada Subject: Re: max line length Date: Fri, 22 Apr 2022 02:57:08 -0500 Organization: A noiseless patient Spider Message-ID: References: <625ddf23$0$26323$426a34cc@news.free.fr> <86r15qxb83.fsf@stephe-leake.org> Injection-Date: Fri, 22 Apr 2022 07:57:09 -0000 (UTC) Injection-Info: reader02.eternal-september.org; posting-host="3e133508e43e46207d69da263bae8873"; logging-data="28558"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX19zVQZNy4Hrkr0UUCMgYQGV25fF5Pmo0l0=" Cancel-Lock: sha1:97tMN1tlf2EmfS6dVtmlwK+ZDAU= X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.7246 X-RFC2646: Format=Flowed; Original X-Newsreader: Microsoft Outlook Express 6.00.2900.5931 X-Priority: 3 X-MSMail-Priority: Normal Xref: reader02.eternal-september.org comp.lang.ada:63767 List-Id: "Stephen Leake" wrote in message news:86r15qxb83.fsf@stephe-leake.org... > Niklas Holsti writes: > >> On 2022-04-19 0:58, Thomas wrote: >>> hi :-) >>> how do you set your max line length? >>> using indentations a lot, i find that 80 is short. >> >> >> I limit lines to 80 characters, because I very often want to use a >> side-by-side diff of file versions, > > I prefer top/bottom diff, partly for this reason. > > But my monitor can easily display 240 characters across. And I have good > glasses. The diff program I use can scroll sideways if necessary, and so can every editor I've used since 1985, so this isn't generally an important concern. The Janus/Ada source used a "soft" limit of 80, mainly because that's what terminals and PCs displayed back then, but we never broke lines just for that reason. Typically, the indent is more than the overrun anyway (so that actual text never exceeded 80 characters). Of course, one has to break really long calls, like the call to create a window in Claw (which usually has a dozen or so parameters). Randy. > > -- > -- Stephe