PDA

View Full Version : C# or Vb.Net - Which is better?


Pankaja
08-23-04, 10:37 AM
I have poured through quite a bit ( I know I have not exhausted all ) about C# and VB.Net. Personally, I would like to move on with C#, which somehow feels a bit more elite and get a little far from the ridicule that people often feel when you say that you develop using Visual Basic.

Structure-wise it is so similar in the .Net world, since everything is OO and one derives in the same manner from the Superclass. Also, most of the support in terms of say, for example, generating XML documents from source code comments, unsigned types, operator overloading, to name a few are going to be available in VB.Net with Whidbey. So, as far I can understand there should be no difference at all between the two languages, pretty soon.

I would like to hear from anyone out there that could explain, if there is something very compelling to claim one is better than the other.

EvilHaider
08-26-04, 12:02 AM
IMO, there isn't anything COMPELLING to choose one over the other...I think it's more a matter of personal preference than anything else. If you can do one, you can do the other.

Having a c/c++ background, C# syntax is much more 'intuitive' to me and I started learning .NET basics with C#.

When I started working at my current job (where everything is written in vb.net and i was expected to continue with that) I had to get used to writing code in vb.net

First few days were a bit annoying (I often muttered 'stupid semi-colon-less VB to myself). However after a little bit I've gotten used to vb.net

Some things (concepts) were easier for me to grasp in C# than in VB.NET (delegates for example...i'm not entirely sure why).

So proceed with whatever you feel comfortable with - so that you spend more time initially learning the concepts, and less time worrying about an 'unfamiliar' syntax/style of code - and when the time comes, you can switch over to the other (if needed) without too much difficulty.

freeauctionscripts
08-26-04, 03:32 AM
I have poured through quite a bit ( I know I have not exhausted all ) about C# and VB.Net.
You should certainly play with Python. Here are some links.
http://www.linuxjournal.com/article.php?sid=3882
http://www.python.org/doc/Intros.html

cristiu
10-08-04, 04:10 PM
I like C# I thisnk is the best language programming for .NET

Cyber_Syrnyk
10-23-04, 01:06 AM
for me, c# is moreintuitive language and its structurised nature will be better for you in future, using c# for .net is fun, but also to note : sometimes you'd probably have to use managed c++ coz of c# being more slow than c++ , but almostly at all cases c# is good for that, and it looks more humanic than c++, i dont know much about other languages like python, smalltalk and how do they do with .net .

Rob_Darkins
11-02-04, 02:21 PM
C# -- however, don't ignore .NET, eventually work with it :-)

Best of luck with it,
[r.D]