News for hackers. Stuff that matters.
Re:Beyond PEP 8 – Best practices for beautiful intelligible ... by david-given on Friday August 07, 2015 @05:16PM (#10025068)
One size doesn't fit all --- if a particular language culture is focused around shell terminals, it'll probably go for 80. If it's focused around IDEs, like Java, it'll probably be about 100.

(Go, for some reason, doesn't like splitting lines at all, no matter how wide. I've had code reviewers criticise me splitting lines at 200, which I don't understand at all.)

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.