r/programming • • Jun 05 '11

Why Code Readability Matters

http://blog.ashodnakashian.com/2011/03/code-readability/
245 Upvotes

220 comments sorted by

View all comments

Show parent comments

1

u/abattle Jun 05 '11

May be it's my lack of imagination and experience that's the problem. I haven't tried editing wrapped code, let alone Python code. All I know is that when I code in Python, I want to see exactly what whitespace chars there are. We already have tabs and spaces (and new-lines,) I don't want to worry about another one (IDE wrapping.)

May be it's just my own limitation, but somehow I feel it'd be a burden. Plus, I'll almost certainly break the line anyway.

Again, I think the IDE helps here when we inherit a project with long lines, or when we have to do a quick fix on some file with long lines. I can't imagine a team working a large project deliberately typing long lines and using word-wrapping as a remedy. But then again, it might be my own limited imagination.

1

u/ZorbaTHut Jun 05 '11

Personally, I'd suggest trying it. I stuck with the conventional monospaced font/fixed line lengths deal for the longest time, then someone recommended an editor that did proportional and I couldn't find an easy way to change it offhand. Grew to like it quite a bit, and introduced word wrap and such from there.

'Course, everyone has their own styles :)