[dba-VB] Which version of Visual Studio

Salakhetdinov Shamil mcp2004 at mail.ru
Mon Nov 14 16:47:21 CST 2011


Hi David --

Have a look:

http://thejoyofcode.com/_NET_Naming_Conventions.aspx

http://10rem.net/articles/net-naming-conventions-and-programming-standards---best-practices

http://msdn.microsoft.com/en-us/library/ms229045.aspx


Hungarian notation is depreciated for .NET languages, still Hungarian notation "dialect" (LRNC) is widely used in VBA world, and VB6 code does use both "classical" Hungarian notation or LRNC...

Thank you.

-- Shamil

15 ноября 2011, 02:24 от David Emerson <newsgrps at dalyn.co.nz>:
> Here is a related question to variable names.  I read somewhere that
> Hungarian naming convention is not now supported by Microsoft and
> they prefer not to include the type as a prefix.  What could be the
> reason for this?  I know there are more tooltips to help identify a
> variable but this is no help if you are looking at printed code.
> 
> David
> 
> At 15/11/2011, David McAfee wrote:
> >:)
> >
> >One of my pet peeves is when variables are used that are the opposite case
> >of a reserved word.
> >
> >
> >String string = "StRiNg";
> >
> >
> >
> >On Mon, Nov 14, 2011 at 1:21 PM, Stuart McLachlan
> ><stuart at lexacorp.com.pg>wrote:
> >
> > > Here we go, grab your tin hats everyone and duck for cover :-)
> > >
> > > --
> > > Stuart
> > >
> > > On 14 Nov 2011 at 13:15, David McAfee wrote:
> > >
> > > > Shamil, why do you prefer case sensitivity?
> > > >
> > > > That is one of my most common mistakes when developing in C, C#, Java,
> > > > Android(Java).
> > > >
> > > > Just wondering,
> > > >
> > > > David
> > > >
> > > > On Mon, Nov 14, 2011 at 1:05 PM, Salakhetdinov Shamil <mcp2004 at mail.ru
> > > >wrote:
> > > >
> > > > > Hi Dan --
> > > > >
> > > > > > I do prefer VB for at least one reason:
> > > > > > VB is not case sensitive while C#  is.
> > > > > I'm not arguing - that's funny: I, personally, dislike VB.NET
> > because it
> > > > > is *not* case sensitive :) (And I have been programming using
> > VBA/VB6 for
> > > > > 10+ years).
> > > > > I can provide my reasoning but would it make any difference there?
> > > > >
> > > > > Thank you.
> > > > >
> > > > > -- Shamil
> > > > >
> > > > >
> > > > > 14  2011, 18:29  "Dan Waters" <df.waters at comcast.net>:
> > > > >
> > > > > > I do prefer VB for at least one reason: VB is not case
> > sensitive while C#
> > > > > > is.  For example, the variable 'stgPerson' in VB is the
> > same as when you
> > > > > > type 'stgperson'; VB will change the case for you.  But C#
> > sees 'stgPerson'
> > > > > > and 'stgperson' as two separate variables, and I don't see
> > how that would be
> > > > > > helpful.
> > > > > >
> > > > > > Good Luck!
> > > > > > Dan
> 
> _______________________________________________
> dba-VB mailing list
> dba-VB at databaseadvisors.com
> http://databaseadvisors.com/mailman/listinfo/dba-vb
> http://www.databaseadvisors.com
> 
> 




More information about the dba-VB mailing list