On Mon, Mar 28, 2016 at 1:28 PM, David Keeler <dkee...@mozilla.com> wrote:
> (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++. > Not a comprehensive argument, but could we do what moz.build does for file names? I believe that is case insensitive, and foo.h sorts before foox.h. Nick _______________________________________________ dev-platform mailing list dev-platform@lists.mozilla.org https://lists.mozilla.org/listinfo/dev-platform