Subject: RE: [sv-cc] Informal poll on constant naming convention
From: Warmke, Doug (doug_warmke@mentorg.com)
Date: Thu Feb 27 2003 - 08:54:40 PST
Team,
I didn't intend to add any underscore after sv,
just a silly oversight on my part.  Thanks for
pointing it out, John.
Regards,
Doug
> -----Original Message-----
> From: Stickley, John 
> Sent: Thursday, February 27, 2003 8:08 AM
> To: Michael.Rohleder@motorola.com
> Cc: Warmke, Doug; sv-cc@server.eda.org
> Subject: Re: [sv-cc] Informal poll on constant naming convention
> 
> 
> I'm also in favor of SV_ALLCAPS for #define constants.
> 
> But my personal preference for functions is
> to keep it as svFuncName() (as per Andrezj's current
> spec) rather than sv_funcName() as I think Doug is
> suggesting. This convention is consistently used for
> both typedefs and functions. I'd like to see it stay
> that way.
> 
> My opinion is not terribly strong in either matter.
> 
> -- johnS
> 
> Michael Rohleder wrote:
> > I am in favor of SV_ALLCAPS.
> > 
> > -Michael
> > 
> > "Warmke, Doug" wrote:
> > 
> > 
> >>Team,
> >>
> >>Andrzej and I have a debate about two conflicting 
> requirements for the 
> >>naming convention in the .h files:
> >>
> >>1) All names prefixed with "sv_"
> >>2) All #define symbols capitalized
> >>
> >>Currently the #define's look like this:
> >>
> >>   #define sv_SOMETHING_OR_OTHER ...
> >>
> >>My feeling is that we should allow function names to
> >>be prefixed with "sv_", and contant symbols to be
> >>prefixed with "SV_" (i.e. rule #2 has precedence
> >>over rule #1).
> >>
> >>Would you mind giving us your opinions on this matter?
> >>
> >>If no one responds, then Andrzej will just leave things
> >>as they are and we will have symbols like "sv_ALLCAPS".
> >>
> >>Thanks and regards,
> >>Doug
> > 
> > 
> > --
> > 
> > NOTE: The content of this message may contain personal views
> >       which are not neccessarily the views of Motorola, unless 
> > specifically stated.
> > 
> >          ___________________________________________________
> >         |                                                   |
> >       _ | Michael Rohleder            Tel: +49-89-92103-259 | _
> >      / )| Software Technologist       Fax: +49-89-92103-680 |( \
> >     / / | Motorola, Semiconductor Products, System Design   | \ \
> >   _( (_ |  _   Schatzbogen 7, D-81829 Munich, Germany    _  | _) )_
> >  (((\ \>|_/ >                                           < \_|</ /)))
> >  (\\\\ \_/ /    mailto:Michael.Rohleder@motorola.com     \ \_/ ////)
> >   \       /_______________________________________________\       /
> >    \    _/                                                 \_    /
> >    /   /                                                     \   \
> > 
> > The information contained in this email has been classified as: 
> > Motorola General Business Information (x)
> > Motorola Internal Use Only            ( )
> > Motorola Confidential Proprietary     ( )
> > 
> > 
> > *** This note may contain Motorola Confidential Proprietary or
> >     Motorola Internal Use Only Information and is intended to be
> >     reviewed by only the individual or organization named above.
> >     If you are not the intended recipient or an authorized 
> representative
> >     of the intended recipient, you are hereby notified that 
> any review,
> >     dissemination or copying of this email and its 
> attachments, if any,
> >     or the information contained herein is prohibited. If 
> you have received
> >     this email in error, please immediately notify the sender by
> >     return email and delete this email from your system.
> >     Thank you! ***
> > 
> > 
> 
> 
> -- 
> 
> This email may contain material that is confidential, 
> privileged and/or attorney work product for the sole use of 
> the intended recipient.  Any review, reliance or distribution 
> by others or forwarding without express permission is 
> strictly prohibited. If you are not the intended recipient, 
> please contact the sender and delete all copies.
>                                                             __
>                         ______                             |  \
> ______________________/      \__                         /    \
>                                  \       H  Dome      ___/     |
> John Stickley                 E |       a  __    ___/  /       \____
> Principal Engineer            l |       l  | \  /
> Verification Solutions Group    |       f  |  \/     ____
> Mentor Graphics Corp. - MED   C \         --  /     /
> 17 E. Cedar Place             a  \     __/   /     /
> Ramsey, NJ  07446             p  |    /        ___/
>                                   |   /        /
> mailto:John_Stickley@mentor.com  \           /
> Phone: (201)818-2585              \         /
>                                     ---------
> 
This archive was generated by hypermail 2b28 : Thu Feb 27 2003 - 08:55:17 PST