(Everyone, start your bikesheds.)

The style guidelines at
https://developer.mozilla.org/en-US/docs/Mozilla/Developer_guide/Coding_Style
indicate that #includes are to be sorted. It does not say whether or not
to consider case when doing so (and if so, which case goes first?). That
is, should it be:

#include "Foo.h"
#include "bar.h"

or

#include "bar.h"
#include "Foo.h"

Based on the "Java practices" section of that document, I'm assuming
it's the former, but that's just an assumption and in either case it
would be nice to document the accepted style for C/C++.

Cheers,
David

Attachment: signature.asc
Description: OpenPGP digital signature

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to