[gmx-developers] no delimiters in file names from 5.0?

Mark Abraham mark.j.abraham at gmail.com
Thu Nov 28 22:08:35 CET 2013


Some new C files in (say) fileio and timing modules have underscores. The
new C++ files tend to be named according to a major class that they
implement, which are also not named with delimiters. Not needing to
interrupt keyboard flow with shift-minus is a small advantage, but I would
prefer readability over that! Different people's brains work differently,

I'm happy with any name so long as un-delimited concatenation is at most
about three words (for readability), and does not prefix gmx or a module
name without due reason. For example, gmxassert.h is fine (to avoid
ambiguity with assert.h), but my perfect world would not have files with
repetitive names like


I'd prefer names like


but people editing multiple template.pre files might not like that. How
much of a problem do people have with CMakeLists.txt files? I solve that
one with

(require 'uniquify)
(setq uniquify-buffer-name-style 'reverse)

in my .emacs file. So when I have multiple such files open, I have to
switch buffers between CMakeLists.txt/gromacs and CMakeLists.txt/mdlib.
That works fine for me - and there's no penalty when there's only one such
file open.


On Thu, Nov 28, 2013 at 8:04 PM, Szilárd Páll <pall.szilard at gmail.com>wrote:

> Hi,
> It has recently come up that the direction 5.0 is moving toward is no
> delimiters in file names, i.e. no underscores.
> I personally think no delimiters is detrimental (unless one uses DOS).
> Just compare the readability of
> gmx_detect_hardware.c vs gmxdetecthardware.c
> or
> nbnxn_cuda_kernel_utils.cuh vs nbnxncudakernelutils.cuh
> I'm not saying that somebody should change/fix this ASAP, but it may
> be worth considering whether this is really what we want.
> Cheers,
> --
> Szilárd
> --
> Gromacs Developers mailing list
> * Please search the archive at
> http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List before
> posting!
> * Can't post? Read http://www.gromacs.org/Support/Mailing_Lists
> * For (un)subscribe requests visit
> https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developersor send a mail to
> gmx-developers-request at gromacs.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://maillist.sys.kth.se/pipermail/gromacs.org_gmx-developers/attachments/20131128/6ec69902/attachment-0001.html>

More information about the gromacs.org_gmx-developers mailing list