osdir.com


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

why no camelCase in PEP 8?


On 18/05/2020 22:07, Eli the Bearded wrote:
> 	camelCase	->	 noCamelCase
> 	snake_case	->	 no_snake_case
> 
> One of those is easier to "grep" for than the other.

Eh.  A changed case in the one, an extra character in the other; that's 
pretty much the same difficulty really.  I certainly don't find it 
"hard" to grep for _snake_case.

-- 
Rhodri James *-* Kynesim Ltd