Camelcase for sourcecode filenames?

Ian Monroe ian at monroe.nu
Fri May 11 17:26:58 CEST 2007


On 5/11/07, Mark Kretschmann <markey at web.de> wrote:
> Hi,
>
> a while ago Nikolaj and I were talking about using camelcase in our filenames,
> e.g., instead of "singlecollectiontreeitemmodel.h"
> using "SingleCollectionTreeItemModel.h", as this can be more readable. Back
> then I wasn't sure if this is properly supported on all our platforms
> (Windows, MacOS).
>
> Does anyone know if it's safe to use this on all platforms? And what's your
> opinion on it?

I'm for it. We should just be careful to never have two files that
differ only by case.

It does allow the situation where something will compile on Windows
but not Linux since the case doesn't match. But that's easily fixed.

Ian Monroe


More information about the Amarok-devel mailing list