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
_ _ ___
|V|icah |- lliott
" " """
mde_at_MicahElliott.com <>< http://MicahElliott.com
PGP: 0x7C07CBF0 ICQ: 369060435 Linux/Ubuntu: 417195/12440
Received on Thu Nov 8 15:12:47 2007