80 Characters per Line Is a Standard Worth Sticking to Even Today
41–48 of 48 posts
Re: 80 Characters per Line Is a Standard Worth Sticking to Even Today
#42I think software is common enough in nearly every editor you not enforce limits, but instead "one thing at a time" rules.
Re: 80 Characters per Line Is a Standard Worth Sticking to Even Today
#43We also enforce this. Not for personal or aesthetic reasons, but to keep code reviewers sane and let them review code side-by-side (as many devs do) when they might not have an ultra-wide monitor available.
What tabsize do you enforce and how many meetings were it before a number was agreed upon?
Re: 80 Characters per Line Is a Standard Worth Sticking to Even Today
#44Earlier quoted context omitted.
Also `var` is such an important mitigatory for this in C# that it continues to astound me that some of the worst offenders also eschew `var` in C#. You really don't need the redundancy of `ImmutableSortedDictionary localCache = new ImmutableSortedDictionary ()`, it's not some sort of Prolog assertion where the strict tautology makes different code than `var localCache = new ImmutableSortedDictionary ()`.
The problems start when you open code to see var localcache = cachemaster.cacheFor(foo); Now you have no idea what it is until you dig into the (hopefully correct) API docs, or use an IDE that can untangle things.
(I'll agree it can be a bit tricky with LINQ and anonymous types in C#, but I think `var` usage is worth that trade-off)
Re: 80 Characters per Line Is a Standard Worth Sticking to Even Today
#45Re: 80 Characters per Line Is a Standard Worth Sticking to Even Today
#46 p, span{
max-width: 60ch !important;
display:inline-block;
}
(probably breaks other sites)Re: 80 Characters per Line Is a Standard Worth Sticking to Even Today
#47Textbooks and newspapers print in multiple columns, even when using tabloid size paper, because it’s more readable. There’s empirical evidence to back it up. The “I have a big monitor” guys just need to stop. Please.