Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VB.NET and C#. Which is better and why?
Message
From
28/10/2003 00:01:34
Ron Hodge
Sebrex Systems, Inc.
Dacula, Georgia, United States
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00843046
Message ID:
00843375
Views:
21
>>I still make sure to use the same case, I don't know what anyone would want two variables named MyButton, and myButton and have the compiler not through an error.

Actually, that's my point. No one should want to use two variables named MyButton, and myButton, so vb.net doesn't allow it. Why c# does is beyond me.

>> I think by being more strict, the compiler requires developers to be somewhat more careful, so I would argue case-sensitivity is a pro, as opposed to a con, that same w/ semi-colons.

I think of casing as a mechanical thing, which I'd just as soon the IDE take care of, so I don't have to keep hitting the shift key after I've defined a variable. Isn't that what a good IDE should do? But it can't in c#.

That said, I'll prob go to c# just to have consistency in my code and the 3rd part tools source code, to make it easier to understand them.

An interesting discussion, and it really just comes down to whatever someone feels more comfortable with.

Thanks for the reply.
Ron Hodge
Sebrex Systems, Inc.
Atlanta, GA
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform