473,804 Members | 2,962 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

How easy is it to learn VB compared to C#?

How hard/easy is it to use/learn VB compared to c#?
Jun 27 '08
25 2066
Speaking as someone who knows both fairly well and has worked in both
a VB and C# environment I can say this. VB is generally easier to
learn, the syntax is fluid for someone that doesn't want to learn a
lot of technical terms. On the other hand C# isn't necessarily hard
to learn, but it's strictness forces you to write stronger code. In
all reality if you code VB without using the built in functions and
with Option Strict on you'll be able to move between the two rather
easily.

Jun 27 '08 #11
On 2008-05-29, rowe_newsgroups <ro********@yah oo.comwrote:
On May 29, 7:10 am, "Cor Ligthert [MVP]" <notmyfirstn... @planet.nl>
wrote:
>Andy,

Depends on what you want to learn

Programming: use C# as it is more strict with everything and does not
automaticly change your typing mistakes,

Learn to use a language to be productive: use VB as it does things that are
time spending to do with C# in many cases in a more easy way.

Just my opinion.

Cor

"Andy B" <a_bo...@sbcglo bal.netschreef in berichtnews:%2* *************** **@TK2MSFTNGP02 .phx.gbl...
How hard/easy is it to use/learn VB compared to c#?

I agree, C# is much more strict in the way it enforces rules. I would
say it would be very beneficial for new programmers to use C# and get
a hold on how things should work and prevent many "stupid" mistakes
(like implicitly returning value types and dumb casting errors).
However, once you have a firm grasp on how to program, I feel VB
(especially in VS 2008's IDE) makes it much, much easier to crank out
code. It just seems to flow better and is much more natural to write.

Thanks,

Seth Rowe [MVP]
I disagree. I think since vs2005, the C# editor is much more friendly.
Even the autoimplement stuff seems to be a little bit nicer in C#.

That's my opinion of course... The guy that LIKES case sensitivity.

--
Tom Shelton
Jun 27 '08 #12
It's hard to tell as for example it depends on what you already know and as
personal preferences comes also in play...

IMO your best bet is just to start both and pick the one you prefer. The
more languages you know, the more asily you'll learn a new language (i..e.
on a logner term you may want to use one as your primary, nknow the second
enogh to be efficent plus perhaps JavaScript if you are doing web
development etc...)

--
Patrice

"Andy B" <a_*****@sbcglo bal.neta écrit dans le message de groupe de
discussion : ##************* *@TK2MSFTNGP02. phx.gbl...
How hard/easy is it to use/learn VB compared to c#?
Jun 27 '08 #13
Frankly I like both. Some on our team pick VB, some pick c#. Those that
pick c# tend to have tasted java or c in their past. Maybe that makes an
easier migration. At least it should.

Out of curriosity, why didn't you crosspost to the c# group?
"Andy B" wrote:
How hard/easy is it to use/learn VB compared to c#?
Jun 27 '08 #14
Hello Family,
Frankly I like both. Some on our team pick VB, some pick c#. Those
that pick c# tend to have tasted java or c in their past. Maybe that
makes an easier migration. At least it should.
If we could create MultiLanguage projects, then this problem would go away.

http://rorybecker.blogspot.com/2006/...ojects-in.html

The need to create a new project and therefore a new dll is massive overkill
just to be able to use the features of another language.
>
Out of curriosity, why didn't you crosspost to the c# group?
Probably didn't want to start a(nother) religious war :)
--
Rory
Jun 27 '08 #15
Tom,

That's my opinion of course... The guy that LIKES case sensitivity.
Have a look at VB, there it is automaticly set in the right case.

Kidding of course.

:-)

Cor
Jun 27 '08 #16
That's an interesting concept in your blog. We've been happy
compartmentaliz ing our dlls fairly well (I hope...).

I wouldn't recommend taking too far though. I could imagine someone wanting
the next logical step, the following:

#region "Language=c #"
string message;
int index;
#end region

#region "Language=v b"
for index = 1 to 5 step 2
message = message & index.ToString( )
next
#end region

"Rory Becker" wrote:
Hello Family,
Frankly I like both. Some on our team pick VB, some pick c#. Those
that pick c# tend to have tasted java or c in their past. Maybe that
makes an easier migration. At least it should.

If we could create MultiLanguage projects, then this problem would go away.

http://rorybecker.blogspot.com/2006/...ojects-in.html

The need to create a new project and therefore a new dll is massive overkill
just to be able to use the features of another language.

Out of curriosity, why didn't you crosspost to the c# group?

Probably didn't want to start a(nother) religious war :)
--
Rory
Jun 27 '08 #17
On 2008-05-29, Rory Becker <ro********@new sgroup.nospamwr ote:
Hello Family,
>Frankly I like both. Some on our team pick VB, some pick c#. Those
that pick c# tend to have tasted java or c in their past. Maybe that
makes an easier migration. At least it should.

If we could create MultiLanguage projects, then this problem would go away.

http://rorybecker.blogspot.com/2006/...ojects-in.html

The need to create a new project and therefore a new dll is massive overkill
just to be able to use the features of another language.
>>
Out of curriosity, why didn't you crosspost to the c# group?

Probably didn't want to start a(nother) religious war :)
--
Rory

Rory,

I'm sure you know, it is technically possible to create multi-language
assemblies - there just is no support in the ide. You have to compile
from the command line to accomplish it.

The problem is that, I just don't really see the point of it. There
have been precious few times when I have wanted to mix languages, and
solution level support was more then adequate. The only time, that I
can really think of is using VB.NET for office automation, simply
because it is much easier and cleaner to use VB.NET for late-bound
scenarios - though, it looks as if that might change in C# v4.

I just don't see this as a feature that many developers will be
clamoring for.

--
Tom Shelton
Jun 27 '08 #18
I am already somewhat experienced in C#. I have been using it for about 2 or
so years now and feel that I would have enough background to base a VB
comparison on. I haven't messed with VB though, and have no idea about its
learning curve. I didn't cross post either, because of reasons that I don't
think is right to say on a public list other than that whenever I post
there, I get harrassed with the idea that my posts and/or questions are too
vague and never do reach the point of "intellegen ce" or "accuracy". Guess
they are too lame to post overthere for some reason. Sorry for the short
lived vent, will get off my soap box now...
"Family Tree Mike" <Fa************ @discussions.mi crosoft.comwrot e in
message news:1B******** *************** ***********@mic rosoft.com...
Frankly I like both. Some on our team pick VB, some pick c#. Those that
pick c# tend to have tasted java or c in their past. Maybe that makes an
easier migration. At least it should.

Out of curriosity, why didn't you crosspost to the c# group?
"Andy B" wrote:
>How hard/easy is it to use/learn VB compared to c#?

Jun 27 '08 #19
Hello Joergen,
I write mainly in VB.Net, but sometimes I just need to use
those darn unsafe pointers (for just a few functions) and
there is no substitute (that I know of) for those in VB.Net
so I have to create a separate project/dll and use ILMerge
in a post-compilation step if I do not want to distribute yet
another dll :(
/Joergen Bech
Annoying isn't it.

Someone correct me if I'm wrong....

Isn't XAML another language whose forms are compiled into the dll along with
C# Or VB.Net?

Surely XAML compilation isn't done by both CSC and VBC?

Isn't there a middle tier to the compilation already somewhere?

--
Rory
Jun 27 '08 #20

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

30
9433
by: Rhino | last post by:
I am giving some thought to applying for some jobs that want people with Java and C++ experience. I have been writing Java for several years and am fluent enough that I don't have to get help with Java very often. I have no real C++ experience and not much C experience for that matter. However, the core Java statements are "borrowed" from C and C++ has often been called "C with classes". It seems to me that it shouldn't take very long to...
16
1725
by: Ding Lei | last post by:
Dear fellows, I am currently a Java programmer, using it for around 3 years, & felt quite bored with it. IMHO, Java is too strict on lots of things, unlike Perl, There is usually only one or two way to do one thing with Java. Kinda of language I prefer is, elegant syntax, high-speed, wide usage, robust, great degree of freedom. I did learned C quite a long time ago, only a bit though. Not really sure is C the really language approriate?...
36
6580
by: No Spam | last post by:
Dear fellow Access 2003 Users, Is there a way to trim all of the fields in a table in one swoop using VBA (preferred) or a query? Right now, I am using an update query and updating EACH field to it's trimmed counterpart. Any ideas? Thanks! Kevin
8
1940
by: Adam Clauss | last post by:
I have a folder containing many subfolders (and subfolders and....) all containing various .cs files. Is there any "easy" way to get them all added to the solution. Preferable would be that the folders are actually created in the Solution Explorer so that I can find things easily. Its easy to select multiple files out of a single folder, but not recursively into subfolders. Any ideas? -- Adam Clauss
4
6704
by: James Thompson | last post by:
I'm sure this question has been asked a hundred times. I did a google search and found some older post and some mixed reviews. I am looking for an updated opinion on which book is the best for learning Visual C++ .NET. A little background, I have been programming C# for the past year and I was a Visual Basic programmer for about 5 years before that. I created a new project in C++ .NET and it is like night and day compared to C#. I was...
2
1308
by: Jensen bredal | last post by:
Hello, I'm quiet confuse after i attended a CMS course. I'm building web apps using asp.net and having looked at the version 2 of asp.net , i doubt wehter it is stil necessary to learn cms. The features in asp.net 2.0 are very very closed (in my opinion) to what you get through a cms system. And you don have to learn any new language . Can someone tell me if i misunderstood something about CMS? Many thanks in advance
34
3164
by: pandit | last post by:
hai all, i want to become a good programmer. one of my friends ( named "arnuld", he posts here infrequently), taught me Lisp. so i am not a programming beginner. i have heard these 2 points. i want to know how : 1. C gives you a strong base of Procedural style of programming which forms the basis of learning other paradigms e.g OOP
12
4039
by: kostas | last post by:
Hi I was asked to propose an interview question for C/C++ programmers (CAD/CAE software) I came up with the following ---------------------------------------------------------------------------------------- float fun(float value) { float f1 =0., f2 = value; float tol = value/1000.; float result,tmp;
0
991
by: yingyu1107 | last post by:
Learn chinese kung fu is so easy! click :www.kungfuer.com/ Secondly, the martial arts is sports, it clearly distinguishes it from the practical people injured and maimed combative techniques. Routine movement despite contains rich combative approach, but its purpose is to drill through to the physical and businessmen offensive and defensive capacity, ability and skills contest, the technical requirements and practical techniques to a...
0
10318
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10069
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9132
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7608
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5505
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5639
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4277
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3803
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2976
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.