Re: Naming conventions

Gopal V <gopalv82-/[email protected]>
Newsgroups gmane.comp.gnu.dotgnu.developer
Message-ID <[email protected]>
Hi Marcus,

> Is that only for those three types? I don't see
> "Int32" or "Single" being 
> used, for example. So I'm very confused about this
> part.

You can use "int" or "float" as you please ... That
peice of advice is to prevent the "string" and
"object"
mixed with the "String" and "Object" (which are used
everywhere else in pnet).

> Also, in some places, the C# names *must* be used,
> such as "enum Fruit: byte 
> { Apple, Orange };" (The compilers will not accept
> Byte here.)

As long as your tab indentation and brace placement
is right, the rest are all just suggestions for
clarity
(maybe except for the variable naming suggestions to
prevent eyesores which some people tend to use like 
m_foo_bar_is_an_int_and_stores_the_sum .. j/k)

Don't let coding conventions stop you for anything,
Gopal



		
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.