when i make variable of button what kind of variable name do you use?
btnPress OR PressButton
nowaday ,especially .net , many of programmer use second one .
how about you? 4 857
Personally, I would use neither. It would probably be pressBtn. I don't make
variables that start with an uppercase, only properties.
"h-h" <so**********@gmail.com> wrote in message
news:Or**************@TK2MSFTNGP09.phx.gbl... when i make variable of button what kind of variable name do you use?
btnPress OR PressButton
nowaday ,especially .net , many of programmer use second one .
how about you?
how about pressButton??
haven't seen pressBtn , it's not normal.
"Marina" <so*****@nospam.com> wrote in message
news:uq*************@TK2MSFTNGP10.phx.gbl... Personally, I would use neither. It would probably be pressBtn. I don't make variables that start with an uppercase, only properties.
"h-h" <so**********@gmail.com> wrote in message news:Or**************@TK2MSFTNGP09.phx.gbl... when i make variable of button what kind of variable name do you use?
btnPress OR PressButton
nowaday ,especially .net , many of programmer use second one .
how about you?
Not 'normal'? lol
Sorry to be abnormal, that is just how I name things. I dont' like writing
out control names, because when you start using controls with longer names
like TextBox, TabControl, etc, it becomes a pain.
"h-h" <so**********@gmail.com> wrote in message
news:O3**************@TK2MSFTNGP12.phx.gbl... how about pressButton?? haven't seen pressBtn , it's not normal.
"Marina" <so*****@nospam.com> wrote in message news:uq*************@TK2MSFTNGP10.phx.gbl... Personally, I would use neither. It would probably be pressBtn. I don't make variables that start with an uppercase, only properties.
"h-h" <so**********@gmail.com> wrote in message news:Or**************@TK2MSFTNGP09.phx.gbl... when i make variable of button what kind of variable name do you use?
btnPress OR PressButton
nowaday ,especially .net , many of programmer use second one .
how about you?
yes, i mean btnPress is normal but pressBtn is abnormal isn't it?
and using TextBox ,TabControl is longer than tbx , tctrl
but it's more readable.
TextBox can be able to use tbx or txt ...
RadioButtonList is rbl ot rbtnList ..it's more difficult to read.
that's why i'd like to choose pressButton
"Marina" <so*****@nospam.com> wrote in message
news:ee**************@TK2MSFTNGP14.phx.gbl... Not 'normal'? lol Sorry to be abnormal, that is just how I name things. I dont' like writing out control names, because when you start using controls with longer names like TextBox, TabControl, etc, it becomes a pain.
"h-h" <so**********@gmail.com> wrote in message news:O3**************@TK2MSFTNGP12.phx.gbl... how about pressButton?? haven't seen pressBtn , it's not normal.
"Marina" <so*****@nospam.com> wrote in message news:uq*************@TK2MSFTNGP10.phx.gbl... Personally, I would use neither. It would probably be pressBtn. I don't make variables that start with an uppercase, only properties.
"h-h" <so**********@gmail.com> wrote in message news:Or**************@TK2MSFTNGP09.phx.gbl... when i make variable of button what kind of variable name do you use?
btnPress OR PressButton
nowaday ,especially .net , many of programmer use second one .
how about you?
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Marco Aschwanden |
last post by:
I just read the changes for 2.4 and while scanning the list the past tense
built-ins got my attention:
sorted() - a new builtin sorted() acts like an in-place list.sort() but
can be used in...
|
by: Kari Laitinen |
last post by:
During the past 15 years I have been writing computer
programs with so-called natural names, which means
that the names (identifiers, symbols) in progarms
are constructed of several natural words....
|
by: 42 |
last post by:
Hi,
Stupid question:
I keep bumping into the desire to create classes and properties with the
same name and the current favored naming conventions aren't
automatically differentiating them......
|
by: Jason |
last post by:
In my ASP.NET 1.1 solutions, I created several web projects and compiled them
each into an assembly. The assembly names reflected the functionality of the
feature (Membership.dll, Dues.dll, etc)....
|
by: Alan Silver |
last post by:
Hello,
I have been developing ASP.NET with a text editor so far (better way to
learn initially), and have now been trying Visual Web Developer. I want
to create a project for an existing site...
|
by: Sam Kong |
last post by:
Hi group,
I want to have some advice about immutable objects.
I made a constructor.
function Point(x, y) {
this.x = x;
this.y = y;
}
|
by: Jonathan Wood |
last post by:
I was just wondering what naming convention most of you use for class
variables.
Underscore, "m_" prefix, camel case, capitalized, etc?
Has one style emerged as the most popular?
Thanks for...
|
by: Allen |
last post by:
Yesterday I discussed with my boss about method naming.
In the RPC argument pack / unpack classes, packing & unpacking remote
procedure
calling arguments into / from a byte buffer. I named the...
|
by: BillCo |
last post by:
I'm coming from a MS Access background and so I'm very used to and
comfortable with the hungarian (Leszynski et al) naming conventions.
However, I'm getting started into my first SQL Server...
|
by: oll3i |
last post by:
it worked but suddenly when i run it and click a button it throws exception ?
D:\SR>java Producent queue1 queue2 queue3 queue4
queue1,queue2,queue3,queue4...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |