Sujet : Re: Which code style do you prefer the most?
De : janis_papanagnou+ng (at) *nospam* hotmail.com (Janis Papanagnou)
Groupes : comp.lang.cDate : 05. Mar 2025, 05:09:08
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <vq8ipa$297go$1@dont-email.me>
References : 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
User-Agent : Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.8.0
On 04.03.2025 21:49, Lawrence D'Oliveiro wrote:
On Tue, 4 Mar 2025 05:39:25 -0000 (UTC), I wrote:
On Tue, 4 Mar 2025 06:12:54 +0100, Janis Papanagnou wrote:
On 04.03.2025 04:17, Lawrence D'Oliveiro wrote:
>
Where did 132-column printers come from?
>
From IBM ? - Or S&H ?
>
The point being, the idea that 80 columns is a good line length for
programming is, shall we say, based on doubtful evidence.
And also, there was one computer company, might have been ICL, that used
90-column punch cards.
Not only one; there were various sizes around; I find for example
80 - IBM, Bull
45, 90 - Rand
21, 40, 65, 80, 130, 160 - ICT
So what?
(For "programming" sensible ranges depend on many factors; first of
all on the programming language, and then on the structuring of your
code, used identifier lengths, expression complexity, and whatnot.
Trying to compensate suboptimal programming choices by extending
the used line length doesn't solve the basic readability issues but
often just introduce other upthread already mentioned issues. YMMV.)
Janis