<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 22, 2019 at 5:10 PM Greg Ewing <<a href="mailto:greg.ewing@canterbury.ac.nz">greg.ewing@canterbury.ac.nz</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex">I would say it the other way around. Once you've reduced the complexity<br>
of a line to something a human can handle, *most* of the time 80 chars<br>
is enough.<br></blockquote><div><br></div><div>+1<br></div><div><br></div><div>It has been known for a very long time. </div><div><br></div><div>These are <i>old </i>books that talk about <i>refactoring</i> (the word wasn't used then) of complex code (assigning subexpressions to variables, or extracting code into functions, reverting conditionals, etc.), not for line length, but for understandability, yet resulting nevertheless in much shorter lines:</div><div><ul><li>Software Tools (also Software Tools in Pascal), Kernighan and Plauger, 1976 <a href="https://smile.amazon.com/Software-Tools-Brian-W-Kernighan/dp/020103669X">https://smile.amazon.com/Software-Tools-Brian-W-Kernighan/dp/020103669X</a></li><li>Code Complete (also the second edition), Steve Mc Connell, 1993, <a href="https://smile.amazon.com/Software-Tools-Brian-W-Kernighan/dp/020103669X">https://smile.amazon.com/Software-Tools-Brian-W-Kernighan/dp/020103669X</a></li></ul><div>I do make an exception in that after taking 8 spaces of indentation to write the implementation of a method in Python, the sweet spot is more around 100 chars.</div></div><div><br></div></div>-- <br><div dir="ltr" class="gmail_signature"><span style="color:rgb(0,102,0)">Juancarlo </span><b style="color:rgb(0,102,0)">Añez</b></div></div></div></div>