Hi Guys,
So After a LONG hiatus I've finally decided to get back into writing
code for ReactOS. Some (most?) of you may not remember me. I've been
lurking on the lists since 2000-2001, and was an active developer with
CVS access for a while back in 2002-2003 (check the commit messages
for rcampbell, also submitted quite a few patches). have never stopped
reading (although i was/am using a different email address), but
haven't touched the code before now. I have a couple of questions:
1) Is my SVN username active? The username is rcampbell. If not,
I'll just use bugzilla. 2) Any documentation on coding guidelines
such as styles, etc. or rules? I'm sure this has changed since my
heyday.
Thanks,
Richard Campbell
> No, it's just a matter of coding style used in the kernel.
What is a logical basis for adopting this particular rule? Sometimes it is
not just a matter of preference.
These parentheses are unnecessary for humans, and if they are not needed for
compilers or some other tools, they are bad! Without them, the bug could be
noticed earlier.
Cheers,
Dmitry
> I personally feel consistent application of the style is also important,
> and that there does not exist a reason to deviate from the established
> coding style in this situation.
I agree that it is good to follow the consistent coding style. The question
is this style itself is good.
I meant the abstract case of ((a = b) && (c = d)), not the concrete case of
((ConvKey == HashEntry->ConvKey) && (Length == Ncb->NameLength)).