linux-c-programming.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* C coding convention
@ 2005-12-16  2:12 Joel M. Pareja
  2005-12-16  2:16 ` Robert P. J. Day
  0 siblings, 1 reply; 3+ messages in thread
From: Joel M. Pareja @ 2005-12-16  2:12 UTC (permalink / raw)
  To: C programming list

Hi!

I just would like to hear ideas about a convention that my boss is
insisting on being implemented which I personally disagree.

Putting opening/closing brackets for case statements:

  switch (type)
  {
    case 1:
=>  {
      /* do something */
      break;
=>  }

    ....

    default:
    {
      /* do something */
      break;
    }
  }

*I am aware that this is just a very small thing to argue. :-)

If you agree with my boss, could you point to me open source projects
that use this convention.

Thanks.



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2005-12-16 10:59 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-12-16  2:12 C coding convention Joel M. Pareja
2005-12-16  2:16 ` Robert P. J. Day
2005-12-16 10:59   ` Glynn Clements

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).