会话变量命名约定。 [英] Session Variable naming conventions.
问题描述
不确定这是否是正确的NG,但是,对于Session变量的变量名称是否有一个约定
?
我在C#中使用.NET 2.0。我是所有这些.NET的新手,所以,任何
指导表示赞赏。
问候
如果漂浮你的船,你可以调用你的Session变量Hamburger。
重要的是它们有意义在你找到一份更好的工作并离开后,下一位开发人员来了
...
Peter
-
网站: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com >
短网址&更多: http://ittyurl.net
控制频率写道:
不确定这是否是正确的NG,但是,是否有惯例
是否为Session变量的变量名?
我在C#中使用.NET 2.0。我是所有这些.NET的新手,所以,任何
指导表示赞赏。
问候
Control Freq写道:
不确定这是否是正确的NG但是,对于Session变量的变量名是否有一个约定
?
我在C#中使用.NET 2.0。我是所有这些.NET的新手,所以,任何
指导表示赞赏。
问候
这些行上是不是有一些正式的命名约定规范?
它有一个名字,它逃脱了我,但是类似于:
没有空格,使用一个字符串,以小写字母开头,然后对每个新单词使用
大写,即:
currentReportingQuarter
tbl雇员
rptMonthlySales
类似的东西...
>
您好
名称是camel,但它不是强制要求会话变量。我使用所有
大写。
马克
>
这些行上是不是有一些正式的命名约定规范?
它有一个名字,它逃脱了我,但是有点像:
没有空格,使用一个字符串,以小写字母开头,然后对每个新单词使用
大写,即:
currentReportingQuarter
Hi,
Not sure if this is the right NG for this, but, is there a convention
for the variable names of a Session variable?
I am using .NET 2.0 in C#. I am new to all this .NET stuff, So, any
guidance appreciated.
Regards
You can call your Session variable "Hamburger", if that "floats your boat".
What''s important is that they make sense to the next developer who comes
along after you get a better job and leave...
Peter
--
Site: http://www.eggheadcafe.com
UnBlog: http://petesbloggerama.blogspot.com
Short urls & more: http://ittyurl.net
"Control Freq" wrote:
Hi,
Not sure if this is the right NG for this, but, is there a convention
for the variable names of a Session variable?
I am using .NET 2.0 in C#. I am new to all this .NET stuff, So, any
guidance appreciated.
Regards
Control Freq wrote:Hi,
Not sure if this is the right NG for this, but, is there a convention
for the variable names of a Session variable?
I am using .NET 2.0 in C#. I am new to all this .NET stuff, So, any
guidance appreciated.
Regards
Isn''t there some formalized naming convention spec along these lines?
It has a name, which escapes me, but goes something like:
no spaces, use one string, starting with a lowercase character, then use
caps for each new word, i.e:
currentReportingQuarter
tblEmployees
rptMonthlySales
something like that...
Hi
The name is camel but it is not mandated for session variables. I use all
uppercase.
Mark>
Isn''t there some formalized naming convention spec along these lines?
It has a name, which escapes me, but goes something like:
no spaces, use one string, starting with a lowercase character, then use
caps for each new word, i.e:
currentReportingQuarter
这篇关于会话变量命名约定。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!