News for hackers. Stuff that matters.
Re:Beyond PEP 8 – Best practices for beautiful intelligible ... by rectangletangle on Friday August 07, 2015 @05:21PM (#10025101)
There's a certain point where an expression becomes difficult to read, because it's too long. If you're pushing 100, it likely means you should separate the logic out into a few smaller expressions.
Re:Beyond PEP 8 – Best practices for beautiful intelligible ... by andreasvc on Friday August 07, 2015 @05:40PM (#10025173)
When you have a function with a large number of parameters, splitting into expressions does not help, but splitting over multiple lines looks much clearer.