[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn commit: r27633 - trunk/subversion/libsvn_ra_neon

From: Micah Elliott <mde_at_micahelliott.com>
Date: 2007-11-08 15:06:12 CET

On 2007-11-08 Hyrum K. Wright wrote:

> >> hwright@spock:~/dev/svn-trunk$ find . -name '*-*.c' | wc -l
> >> 91
> >> hwright@spock:~/dev/svn-trunk$ find . -name '*_*.c' | wc -l
> >> 61
> >>
> >> I know this is pretty bikesheddy, but would it be worth it to
> >> consistently use one version over the other?
> >
> > You get nothing but +1s from me, even though my preferred
> > choice (hyphens) is not a viable option because our public
> > header files all use underscore.
>
> I agree that underscores should be used for header files and
> folder names, but I also like the hyphen for .c files.

If you're trying to settle on some file naming convention for
source files (*.[ch]) files, you might consider being consistent
with *.py files as well (though CamelCase is more accepted
there), since I believe you have a good number of those floating
around (146?). And since the latter (*.py) can't have -s
(dashes/hyphens) for import's sake (though some of them appear
to), you might be better off going with _ (underscores) across
the board.

-- 
                          _ _     ___
                          |V|icah |- lliott
                          " "     """
mde_at_MicahElliott.com            <><             http://MicahElliott.com
PGP: 0x7C07CBF0          ICQ: 369060435      Linux/Ubuntu: 417195/12440
HackerKey: v4sw6YUPCJhw5ln5pr7OPck2ma9u8Lw3m5l6Ui2e7t3b8LDMOen6a3XsMRr5

Received on Thu Nov 8 15:12:47 2007

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.