Earlier quoted context omitted.
If writing idiomatic code is causing readability problems your doing it wrong. Successful code is read far more than it's written and even machine generated code needs to be well written to locate bugs etc. iF YoR CodE LoOks lIKe tHIs, yOu FaIl.
> If writing idiomatic code is causing readability problems your doing it wrong. Sure, because breaking a 82 char line in python in 2 lines (because pep8) is much more readable than leaving it at 82 chars.
Don't use -Werror
71–74 of 74 posts
Re: Don't use -Werror
#72Earlier quoted context omitted.
> If writing idiomatic code is causing readability problems your doing it wrong. Sure, because breaking a 82 char line in python in 2 lines (because pep8) is much more readable than leaving it at 82 chars.
A 65+ character line is already ugly. 80 is an arbitrary but sensible cutoff.
a = "a long message with 70 chars..."
vs
a = ("a long message..."
" with 70 chars...")Re: Don't use -Werror
#73Earlier quoted context omitted.
A 65+ character line is already ugly. 80 is an arbitrary but sensible cutoff.
Speak for yourself a = "a long message with 70 chars..." vs a = ("a long message..." " with 70 chars...")
A = \
"A really long string"
But, the odds are really good you are making a mistake.Re: Don't use -Werror
#74Earlier quoted context omitted.
Speak for yourself a = "a long message with 70 chars..." vs a = ("a long message..." " with 70 chars...")
You should not be using long messages in code, for one thing you can't localize them across multiple languages. You can do: A = \ "A really long string" But, the odds are really good you are making a mistake.