3 ms·
I agree that 80 is too small in 2020, and hasn't been since around 80x25=2000, but LLVM is stuck at 80 columns [1]. I'd be interested to see a canvas of other b
by CalChris 6y ago
I agree that 80 is too small in 2020, and hasn't been since around 80x25=2000, but LLVM is stuck at 80 columns [1]. I'd be interested to see a canvas of other big projects.
[1] https://llvm.org/docs/CodingStandards.html#source-code-width https://llvm.org/docs/CodingStandards.html#source-code-width
- truncate 6y agoLooking at examples, they also seem to have 2 space indents. Google C++ Style Guide also uses 2 space indents. I've never measured it, and my observation is very likely biased (as I've mostly worked with C++), but I've found 80 columns in big C++ projects often very limiting. Maybe less often now, after people are most accepting to new features; e.g type inference `auto` over `MyNameSpace::BlahContainer::const_iterator iter`.