[gmpi] Re: conventions opinion

Tim Hockin <thockin@xxxxxxxxxx> writes:

> We've all informally agreed upon some naming conventions for C++ code.
> Should the C code follow those same conventions?  Or should C code use a
> more C like convention?

I vote for at least following the oldest and most basic C convention:
ALL_CAPS is for #define macro names, never for real variables.

Traditionally, actual C variables are all or mostly lower case, but
mixed case is OK as long as we don't violate the rule above, IMHO.
-- 
  joq

----------------------------------------------------------------------
Generalized Music Plugin Interface (GMPI) public discussion list
Participation in this list is contingent upon your abiding by the
following rules:  Please stay on topic.  You are responsible for your own
words.  Please respect your fellow subscribers.  Please do not
redistribute anyone else's words without their permission.

Archive: http://www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: