David Emerson
newsgrps at dalyn.co.nz
Mon Nov 14 16:23:03 CST 2011
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