码迷,mamicode.com
首页 > 其他好文 > 详细

Naming Conventions----Best pratice

时间:2014-08-22 10:34:25      阅读:151      评论:0      收藏:0      [点我收藏+]

标签:des   io   strong   for   ar   sp   on   ef   

Variables: <scope><array><data type>Descriptive_Name

Constants: <scope><data type>Descriptive_Name

User-defined types: Type Descriptive_Name

              <data type> Descriptive_Name

            End Type

Enumeration types: Enum <project profix>General Descr

              <project profix> GeneralDescrSpecificName1
              <project profix> GeneralDescrSpecificName2

           End Enum

=============================================================

The Scope Specifier (<scope>)
g—Public
m—Module-level
(nothing)—Procedure-level

The Array Specifier (<array>)
a—Array
(nothing)—Not an array

The Data Type Specifier (<data type>)

ex: i for integar, d for double...

Enumeration Types

ex: xlPaperA4 represents A4 paper

Naming Conventions----Best pratice,布布扣,bubuko.com

Naming Conventions----Best pratice

标签:des   io   strong   for   ar   sp   on   ef   

原文地址:http://www.cnblogs.com/Roy-Anna/p/3928621.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!