discuss-gnuradio
[Top][All Lists]
Advanced

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

Re: [Discuss-gnuradio] naming conventions for static class members


From: Eric Blossom
Subject: Re: [Discuss-gnuradio] naming conventions for static class members
Date: Wed, 11 Apr 2007 22:19:53 -0700
User-agent: Mutt/1.5.9i

On Wed, Apr 11, 2007 at 08:48:09PM -0400, George Nychis wrote:
> Eric,
> 
> You brought up naming conventions in our convo, and mentioned the d_ prefix 
> to class members.
> 
> After reading through the README.hacking file, I see there is a s_ 
> convention from static members in a class.  Should these:
> 
> static const int D_PORT_TYPE_RX = 0
> static const int D_PORT_TYPE_TX = 1;
> ...
> 
> become
> 
> static const int S_PORT_TYPE_RX ?
> 
> - George

For constants that aren't externally visible, no prefix is needed.
Just all caps.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]