<div dir="ltr"><br><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Nov 28, 2013 at 10:20 PM, Erik Lindahl <span dir="ltr">&lt;<a href="mailto:erik.lindahl@scilifelab.se" target="_blank">erik.lindahl@scilifelab.se</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<div class="im"><br>
On 28 Nov 2013, at 22:08, Mark Abraham &lt;<a href="mailto:mark.j.abraham@gmail.com">mark.j.abraham@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; 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&#39;s brains work differently, too!<br>

<br>
</div>Wasn’t the plan to convert to camelCase?<br></blockquote><div><br></div><div>For identifiers, sure, and that has happened for the new C++ files I&#39;ve seen. It sure never occurred to me that we might want a/that convention for filenames. Unsurprisingly, we&#39;ve left Teemu to his own devices for so long he&#39;s suited himself ;-)</div>
<div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
Part of that was to make it clear what things had been translated into C++ while the move is in progress, but another small advantage over the underscores is that it is easy to add _lots_ of delimiters in long names without extending the length of the identifier, instead of coming up with nonstandard abbreviations that are hard for other developers to decipher.<br>
</blockquote><div><br></div><div>Yeah, transition-marking is useful. Camel case is not perfect either, because now you have to wonder where to capitalise stuff like PPPMELoadBalancing...</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

I would also hate to have different standards for short vs. long identifiers, with each developer deciding when an underscore might look good to have, or when a name short enough to do without it. With gmxCamelCase we would always write gmxAssert.cpp too?<br>
</blockquote><div><br></div><div>Happy to do that, but it&#39;s not a high priority.</div><div><br></div><div>Mark</div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">

Cheers,<br>
<br>
Erik<br>
<div class=""><div class="h5">--<br>
Gromacs Developers mailing list<br>
<br>
* Please search the archive at <a href="http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List" target="_blank">http://www.gromacs.org/Support/Mailing_Lists/GMX-developers_List</a> before posting!<br>
<br>
* Can&#39;t post? Read <a href="http://www.gromacs.org/Support/Mailing_Lists" target="_blank">http://www.gromacs.org/Support/Mailing_Lists</a><br>
<br>
* For (un)subscribe requests visit<br>
<a href="https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers" target="_blank">https://maillist.sys.kth.se/mailman/listinfo/gromacs.org_gmx-developers</a> or send a mail to <a href="mailto:gmx-developers-request@gromacs.org">gmx-developers-request@gromacs.org</a>.<br>

</div></div></blockquote></div><br></div></div>