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

Re: [Xen-devel] [PATCH] CODING_STYLE: discourage use of underscores where alternatives exist



Hi Jan,

On 07/06/2018 14:56, Jan Beulich wrote:
Underscores commonly require two keypresses while hyphen / dash requires
just one, and the visual separation effect of both is basically the same.

I don't buy this argument. A good programmer is lazy by definition but not that much. C does not allow identifiers with hyphen, so you end up to use underscore most of time as you don't often create new filename and most of the editors have filename auto-completion.

To be honest, my mind has also been trained to recognize easily the underscore version and I feel the hyphen more difficult to parse.

Cheers,

--
Julien Grall

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.