Re: [PATCH 6/6] Rename 'n' into a longer variable name.

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

 



>>>>> Bernd Schubert <bernd.schubert@xxxxxxxxxxxxxxxxxx> writes:

 > When it comes to me variable names consisting of a single letter
 > should be forbidden by coding style guide lines, as it is rather
 > difficult to search for single letter, such as 'n'.

	The incremental regexp search in GNU Emacs (M-C-s, M-C-r) copes
	with that just fine.  The regexp I'd use is: \<n\>.

	FWIW, I tend to use shorter (including one-character) names for
	the variables of narrow (less than a screenful of code) scope.
	OTOH, for the globals, and structure members, I'd certainly
	prefer more verbose (and descriptive) names.

 > Rename struct neighbour *n to dst_neigh

[…]

-- 
FSF associate member #7257

--
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Ext4 Filesystem]     [Union Filesystem]     [Filesystem Testing]     [Ceph Users]     [Ecryptfs]     [AutoFS]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux Cachefs]     [Reiser Filesystem]     [Linux RAID]     [Samba]     [Device Mapper]     [CEPH Development]
  Powered by Linux