lua-users home
lua-l archive

Re: const char* typedefs

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


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

AltStyle によって変換されたページ (->オリジナル) /