Re: [xml] Coding conventions?

On 31 Dec, in message <1072893302 10527 719 camel localhost>
  ai2097 <ai2097 yahoo com> wrote:

I'm wondering if there's any standard coding convention/indent settings
that are applied to the source for this project.


Example 2:

       foo (ctxt->counter++ + 1);

IMHO, this seems much cleaner (and is exactly why preincrement exists):

       foo ( ++(ctxt->counter) );

Or just foo( ++ctxt->counter);


Phil L.
          f y cn ndrstnd ths cn y gv m  jb s  cmptr prgrmmr?

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]