Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I dunno - I strive for 80 characters and do Python development these days, and it isn't hard at all - with good editor support. Adding an extra parenthesis shouldn't hurt that much. I choose reasonable variable names, and almost never shorten them to get a line to fit in 80 characters.

We don't have an 80 character rule, but none of the other developers has come to me saying my code is hard to read.

The lambda problem is a language problem. If Python allowed multi-statement lambdas, you wouldn't have this frustration. When I used to do C++, most of my lambdas were multi-line - my coworkers found it easier to read.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: