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 08:54:51
 
 
To
27/10/2003 17:37:33
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00843046
Message ID:
00843490
Views:
32
*G* It just becomes a nuisance to me because sometimes I will have to make modifications to both VFP apps and Delphi apps during the day and switching between the two I tend to add semicolons automatically to VFP lines of code (bad) or leave them out of Delphi lines of code in at least one place (just as bad)! :o)

>Tracy,
>
>>>The semicolon problem arises for me simply because I have been programming in foxpro since the early 80s and I am accustomed to semicolons continuing lines in VFP<
>
>I too had been programming in FoxPro almost as long (I started in late 80's with FPD 2.0), but since I've been using C# for more than a year and a half, the semi-colons are second nature to me now. In fact, whenever I go into VFP to do something (we have a few in-house utilities that use VFP), I have to keep reminding myself to *not* put semi-colons at the end of the line!! <g>
>
>~~Bonnie
>
>
>>The semicolon problem arises for me simply because I have been programming in foxpro since the early 80s and I am accustomed to semicolons continuing lines in VFP - the reverse. I use Pascal also (Delphi) and adding semicolons at the end of every line is something I sometimes forget to do when I get to typing code...
>>
>>
>>>>IMHO those are two very strong pros and cons to C# for me. I despise nothing like I despise case sensitivity (well, semicolons at the end of lines as in Delphi bug me too), but I would really like to be able to delve into any tools written in C#. I've just noticed myself that there are many more examples (or else that is all I am finding) in C# out there than in VB.net which makes self-improvement or even self-teaching in the language much easier...
>>>>
>>>
>>>
>>>Sorry, I don't really see the Cons of case-sensitivity or semi-colons. It is like using a capital at the being of a sentence, or using a period at the end of a line. Using semi-colons, make generating of C# much easier then VB code, and it just seems more tidy.
>>>
>>>I don't know, even when i have to code in VB.NET at times, 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.
>>>
>>>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.
>>>
>>>Morgan
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Reply
Map
View

Click here to load this message in the networking platform