[gmpi] Re: low level API

  • From: "Ron Kuper" <RonKuper@xxxxxxxxxxxx>
  • To: <gmpi@xxxxxxxxxxxxx>
  • Date: Fri, 4 Feb 2005 11:52:23 -0500

OMG, this is icky beyond compare ;-)

        if (x == y) {
                ..
        } else if (x > y) {
                ...
        } else {
                ....
        }

I'm getting me a pretty printer... 

-----Original Message-----
From: gmpi-bounce@xxxxxxxxxxxxx [mailto:gmpi-bounce@xxxxxxxxxxxxx] On
Behalf Of Steve Harris
Sent: Friday, February 04, 2005 11:41 AM
To: gmpi@xxxxxxxxxxxxx
Subject: [gmpi] Re: low level API

On Fri, Feb 04, 2005 at 11:31:02AM -0500, Ron Kuper wrote:
> >>>
> Code formatting requirement #2: only K&R conventions.  This is C,
after
> all.  Who better than K&R to tell us how to write it?
> <<<
> 
> We can decide for ourselves what we prefer, or use a pretty printer if
> we can't agree.  In my personal experience, most of the code I see is
> *not* in the K&R style. 

Right, but if most of the code you see is written by windows programmers
it will probably be hungarian notation too, which I hardly ever see now
(thankfully).

The vast majority of code I see broadly follows the linux kernel coding
style: http://pantransit.reptiles.org/prog/CodingStyle.html

- Steve

----------------------------------------------------------------------
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: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe


----------------------------------------------------------------------
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: //www.freelists.org/archives/gmpi
Email gmpi-request@xxxxxxxxxxxxx w/ subject "unsubscribe" to unsubscribe

Other related posts: