On Fri, Mar 07, 2008 at 03:29:00PM -0600, Gerardo Santana G?mez Garrido wrote: > We're writing a set of tools at work and I'm thinking of establishing > a naming convention to enforce, before we get more programs deployed. > > I was thinking of verb-subject, or verb_subject, or viceversa. > > As always, I looked at OpenBSD for inspiration, and found > > pkg_*
requries a shift, slows typing > ssh-* no shift, slows only by extra char > rpc.* "." marks "extensions" to file names for some people (programs?) and I wouldn't use this. > > where the prefix is actually a sort of name space. And > > user* > group* > skey* > No extra marker character. Doesn't slow down typing but depending on how the two halves of the names go together it could be confusing. I would also see how apropos is affected by the choice. Eg, if a user can't remember which pkg_ command they want, they can apropos for "pkg_" but if there is no "_", then apropos "pkg" may give extraneous results. Doug. > no separator between subject and verb. > > Based on your experiences, and ignoring for a moment the "historical" > reason, which naming convention would you use and why.