Re: Is PEP-8 a Code or More of a Guideline?



In <646aw86i.fsf@xxxxxxxx>, kc wrote:

"Joe Riopel" <goon12@xxxxxxxxx> writes:

Using camel case instead of the under_score means less typing. I am lazy.

fooBar
foo_bar
Each requires exactly the same number of key strokes when I do the
math. (Too lazy to explain further...)

Let's leave 'foo' and 'ar':

1. B = <Shift> + <B> = 2 key strokes.
2. _b = <Shift> + <-> and <b> = 3 key strokes.

At least on my keyboard + layout.

Ciao,
Marc 'BlackJack' Rintsch
.



Relevant Pages