[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] [PATCH] CODING_STYLE: discourage use of underscores where alternatives exist
Underscores commonly require two keypresses while hyphen / dash requires just one, and the visual separation effect of both is basically the same. Signed-off-by: Jan Beulich <jbeulich@xxxxxxxx> --- a/CODING_STYLE 2017-08-09 14:07:41.565057836 +0200 +++ b/CODING_STYLE 2018-06-07 15:52:55.136611092 +0200 @@ -106,6 +106,15 @@ separate lines and each line should begi * Note beginning and end markers on separate lines and leading '*'. */ +Choice of names +--------------- + +While for identifiers underscores are unavoidable when a visual +separator beween name components is wanted, in other cases, where a +wider set of non-alphanumeric characters can be chosen from, the use +of underscores is discouraged. For example, for file names and +command line options a hyphen / dash is commonly easier to type. + Emacs local variables --------------------- _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxxx https://lists.xenproject.org/mailman/listinfo/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |