[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: const char* typedefs
- From: Pierre Chapuis <catwell@...>
- Date: Tue, 06 Feb 2018 19:13:37 +0100
On Tue, Feb 6, 2018, at 19:00, Daurnimator wrote:
> - I'm not concerned about line length very much. I can fit 3 120 column
> terminals side by side on my screen...
You are lucky. I just checked and I can fit 190 columns total
on my screen. Anything more and I cannot read the code
without straining visual effort. And that's when I use my 27"
monitor, on my 13" laptop I don't go over 120 columns.
That being said, I agree with not using typedef here. If types
are too long to fit on a single line, just use more lines, for instance
putting the return type on its own line like in KNF.
--
Pierre Chapuis