Discussion Locked

Visual Basic or Visual C++ ?????

0 helpful
59 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I would be interested in getting some expert opinion about programming.

What are the strengths/weaknesses of these respective languages?? Learning curves??

In light of Microsoft .Net platform, which would be the better choice to learn now??
(beginner in programming)
Thanks.

59 replies

by brianharris

VB is easier to learn and you will find a lot of jobs that need it. However, they won't pay as well as VC++.

VC++ is much harder to learn(especially without a programming background) and you won't find as many jobs, but those that you do find will pay more.

.Net is a completely different animal altogether. If you could get a copy of the .Net beta I would tell you to learn C# instead of VB or VC++. If you can't get one soon I would say learn VB and Java until you can.

While I like Microsoft products and I LOVE the .Net stuff(working with Beta 1 now) I honestly have to say that you should look at Java right now. It will provide you with a fairly easy language to learn, job opportunities are abound and picking up .Net afterwards will be easier.

Good luck!

by jackd

Your comprehensive answer is greatly appreciated. I have another question(s) regarding java, is it true that it is for programming only in Netscape's browser and only for internet applications? Has it become a standard language?? Will it be aroundfor awhile??
Thanks again.

by brianharris

Its not just for Netscape's browser, but with the feud between Microsoft and Sun, your guess is as good as anyone's how long MS will support Java in their browser.

However, beyond simple "web applets" Java is mostly being used server side for e-com components. I think most Java developers will agree that Java isn't the best for "fat" user interfaces, becuase its just too slow. On the server is where you'll mostly find Java.

I'm managing a project right now with mostly junior developers doing VB. They all wanted to do UI because that's what VB is about, so they thought. After I got them involved in the business objects on the server side they decided that UI development isn't really quite as fun. I think Java will teach you thesame thing. Its fun to build UIs but not anywhere as fun or exciting as BOs.

Sun wanted Java to be standard and either submitted it to or were thinking about submitting it to a standards body but pulled back from that. So right now I don't believe Java is a standard, but neither is VB or VC++. That shouldn't stop you though.

I'm sure it will be around for awhile. Problem is these days that nothing is around forever. Its better to learn how to do proper development than get caught up in what language you're using. If you can program in Java or VB or C++ or C# or... you should easily be able to pick up a new language. The worst(and the best) part about IT and development is that things change really fast. It may well be that Java and/or .Net won't even be around in 5 years.

Keep a high-level view of IT and your career in it and change won't be a problem. Get caught up in the "holy wars" of the best OSs or languages and say "bye bye" to your long term career.

AgainGood Luck!

by tigre_269

Thanks for the insight. I just bought a VB book a couple of weeks ago. My motive is to create admin utils. Can you recommend any good programming books?

by brianharris

I don't really buy that many books anymore, but I can recommend THE book all developers should have at least flipped through. You should of course READ the book, but the more advanced you are the more the book might be overkill.

Code Complete
by Steve C McConnell
ISBN: 1556154844

The book teaches you HOW to program, not a specific language.

If you're doing VB and you want to do admin utils(don't know what kind) you should get a copy of Dan Appleman's Win 32 API book(ISBN: 0672315904). The newer the better.

Outside of those, if you're doing development with Microsoft tools you really only need MSDN, which fortunately is now online. In the good old days you had to spend $200 for a year'1s subscription.

Good luck!

by bobbi7

Where ever there is a need of good and complex interfaces with time limitations then of course use VB . (Since it is a semi RAD tool). But of course if you use VC++ without MFC classes ;there is an advantage in faster speed since C++ is a language it will take less time to connect to databases but of course changes and maintainence of code is high

by jims

Hi

My Preference is VB.

Down the programming freeway you would want to learn C (of any flavor).
Many a web site uses variations of that language and a good back ground in C helps greatly.

For a site that carries frames and javascripting may I suggest looking at
http://www.pacifier.com/~jdsedell
I know, I am plugging a site!
Many a main frame (like in Banks) use Unix machines. These Unix machines use C or variations of C. So if your goal is to
be a system administrator at US Bank, C is the best bet.

May God bless you as you study.

by jackd

Thanks again for your useful insights. You have given me the answers I was seeking. I agree with you that one of the best things about the industry is that one has to keep learning.
The best to you.
jd

by pallan

If you want to build a career as a programmer, learn to program rather than learning a language. A progression from C to C++ to Java (which is derived from C++) will give you a better foundation than merely learning Java.

If you want to be doingthis for the next 5-10 years or more, you will have to adapt to new languages. Rote learning Java won't prepare you for that.

by brianharris

While I agree with your statement that they should "...learn to program rather than learning a language." I slightly disagree with, "A progression from C to C++ to Java ... will give you a better foundation than merely learning Java."

While thatis how I got here and most people will claim is the best way to do get started, its not always practical. I had 4.5 years of college learning C and Pascal and eventually C++. That helped me "learn how to program" but the market wasn't anywhere near this good then.

He will eventually have to balance the need to be a good programmer with the need to get in to this job market while the getting is good. Java will teach him OO development, which while not the panacea of development, happens tobe THE deal now. Java will help him get a job right now and make a fair salary.

C and C++ are really good languages to know but someone can be a good programmer without them. The old way of looking at programming, that you pay your dues by starting with C or Assembler and then move up to other things, is passe.

We need to move on to where programmers realize that no one else is going to take care of their careers. They can learn just Java and not programming, but that limits career advancement. Or they can be active participants in their careers and learn not just languages and programming but also HOW to learn new things.

Software development is easily(I'm biased) the hardest part of IT. It takes a lot of work just to be average, never mind good. Just be aware of that and things will be fine.

Welcome to programming and good luck!

by basilisk

I'll second the first part of that advice. As someone who has taught undergraduate Computer Science for several years, I can say the trick to becoming a good programmer is not learning a specific language - it is learning how to break a task down into low level steps, having a good mental image of how a computer works internally, paying attention to details, being able to model real-world and imaginary objects and behaviors, and having a basic grasp of higher level mathematical concepts like function growth, set theory, and formal logic (even if you can't speak the formal language).
I can't necessarily vouch for the second part of this advice. It doesn't matter if you start in C or C++ or Java or VB or whatever, as long as you start in a full-featured language. Whatever your first language, you'll be well started on becoming a true programmer only after learning your second. :-)

by moki

I think you hit the nail on the head with your advice to learn the programming craft rather than just a programming language. Shakespeare would have been just as remarkable if he had used French, Spanish or German (well, maybe not German).

I think it is also true that the best way, in fact the ONLY way, to really learn programming is by learning and using a language.

Of course, this is such an investment of time and effort that it only makes sense to want it to make you more marketable aswell. That's why I can't honestly recommend the finest programming language ever defined: Modula2. Java isn't half the language Modula2 is, but I wouldn't want to try to find a job trawling with a Modula2 r?sum?.

by goodheart

Is it essential to have knowledge of "higher level mathematical concepts" in order to learn a programming language. can a person with non-mathematics background learn programming. any suggestions for a good book on Java for an absolute beginner withpreliminary knowledge of C++.

by brianharris

No you don't need a mathematics background to be a programmer. The reason most CS programs focus on mathmatics is two-fold. 1) Most CS departments and/or profs come from mathematics backgounds and 2) Mathematics teaches "logic" which I would argue IS a requirement to be a programmer.

You don't need to have any mathematical background to be a good programmer but you HAVE to be logical, as I think Jennifer points out in her post. You can get that skill as easily by taking philosophy classes,but that isn't a necessity either.

I'll let someone else offer Java book suggestions.

by pallan

I was using the C/C++/Java progression in the context of learning Java. Obviously there's other families of languages out there to learn. Extending this example, if the poster wants to learn to program (rather than just a language) this is a better progression than just jumping into Java. Why? What's the greater task, learning Java after learning C++ or learning C++ after learning Java? I'll bet the answer is the latter. The family of languages you learn should depend on what type of programming you want to do.

As a side note, I'd even consider extending this particular learning tree to Assembler/C/C++/Java. Someone else suggested going the quickest route to get into the job market before it cools. This, IMO, is shaky advice. Who will be the first out the door when the market does cool? The versatile professional, or the guy who took a "learn Java in 30 seconds" course?

by basilisk

No, studying mathematics is nice but not necessary.

The point I was trying to make is, in my experience, you have to have the ability to grasp the concepts of higher math in order to become a good programmer. You don't have to know who DeMorgan is, but you had better be able to understand why, in C++, !(cond1 && cond2) is the same as !cond1 || !cond2. You don't have to know the definitions of set vs. sequence and union vs. concatenation, but you had better realize that, if you add ObjectA 100 times to a collection of other objects, there are some types of collections where you end up with only one copy of Object A, while for other types of collections, you'll end up with 100 more copies of Object A than you started with.

In my experience teaching undergraduates to program, students who didn't grasp such concepts ended up being so-so programmers, able to copy and modify other people's work to a limited extent, or being able to code up new stuff if they were walked through it, but they hardly ever came up with any creative ideas on their own.

Having said that, however, please don't think that I don't think there is a place in the IT world for people without that skill level - the bulk of programming work seems to bemodifying others' work; it's just that I wouldn't call them good programmers.

by basilisk

:-) I know that everyone says Java is easier to learn after learning C++, but I would like to offer myself up as anecdotal counter-evidence. I know ANSI C++ very well indeed, and I've been trying to teach myself Java for the last year.

My levels of frustration with Java are sky high! The problem? Java does too much hand-holding. From my C++ experience, I _know_ there is stuff going on "under the hood" so to speak, and every Java reference book I have is hiding it from me. :-( Imagine trying to ride a bike with someone running alongside holding on to the back of the seat. Admittedly, there might be less physical effort needed to ride that way, but as someone who already knows how to ride by myself, I would find the personholding on to be incredibly ANNOYING!

If anyone knows a good book that really goes into the details behind Java, please let me know. I've tried many "Java for C++ programmers" books and they are worse than the "Beginning programming in Java" textbooks.

by debuggist

This is a reply to a later post by Basilisk, but I couldn't post there.

Java frustrates you, because you can't see what's going on under the hood. You're using Java for the wrong reason. Java provides a higher level of abstraction than C++. Itwas designed that way, so programmers could spend their time writing code to solve business problems instead or worrying about memory management and other such things.

I would change your analogy: Java is not like riding a bike with someone holding onto the seat while you pedal. It's more like a motorcycle; I don't have to concern myself with the mechanics of pedaling, and I arrive at my destination a lot sooner. If I want exercise though and enjoy working on a bike, then I'll ride a bike; I wouldn't use a motorcycle for that.

by basilisk

Man, seven levels of replies is just not enough. :-)

Anyway, perhaps HoosierDaddy's motorcycle analogy is more apt. But he stated I was "using Java for the wrong reason". The problem I have with this statement is that I am not trying to "use" Java, I'm trying to "learn" it. I will argue there is a difference.

For example, I understand automobile engines in only a vague, very abstract way. When it comes to "using" a car, my abstract view is useful, cause I don't have think about what those weird noises from the front of my car mean and can concentrate on driving. However, I don't think anyone who knows me would ever claim that I have "learned" much about car engines during my life.

For a more programming related example of the difference between using and learning, consider the C++ cin and cout statements. 99% of the time when I am writing a C++ program, I keep a abstract view of what cin and cout do in my head (e.g. cout "writes things to the screen" and cin "reads things from the screen"). I very much appreciate this feature of C++, compared the much more complicated view I needed to keep in my head in order to use the printf and scanf statements in C. (continued in part 2)

by basilisk

(continued from part 1) However, this abstract view of cin and cout has let me down. Perhaps a dozen times, I have written C++ programs that displayed bizare behavoir related to their cin and cout statements. Moreover, in any given undergraduate programming course I have taught, I could pretty much count on 200 students coming up with 10 or 20 programs with equally strange behavior. If I had only my simplified view of what cin and cout does, as stated above, I would still be puzzling over these programs today. I had to resort to a much more concrete, detailed view of cin and cout (e.g. they are "completely separate streams of characters, including various whitespace and non-printing characters, which are buffered by the OS") in order to explain/control/fix/take-advantage-of the strange behavior of these programs.

So while I don't have to resort to this detailed view when I am "using" C++, it is my opinion that I had only "really learned" C++ after I had obtained this concrete view necessary for explanations of simple programs and for routine debugging.

This is the problem I am having with learning Java. I can type in the examples from my books and follow the explanations as to what the examples are doing. However, as soon as I start to explore on my own, modifying the examples or coding up little tests of my own, I get unexpected behaviors. And my books are no help, 'cause they don't explain in enough detail for me to learn what is going on.

(P.S. I should mention I don't have too much of a problem with thinking abstractly; it's one of the reasons why I want to "learn" Java in the first place, so I can "use" it when I don't want to worry about concrete details. Actually, I find even pseudocode to be too concrete for a first design effort; I prefer to begin creating classes using a combination of modeling theory and predicate calculus.)

by jepoyski_99

well in my opinion it is better to study vb first before vc++ coz as the language implies, you need to have ur basic first n vb is a very easy to learn language.

in vb u will not have a hard time studying the syntax of it. while in c++ u must start studying the concept behind classes before u can get a full grasp of the languge.

by jcmarin

Both applications have different purposes, merits and drawbacks; regardless of the name VB is not "basic" or easy it is just stuck with the name. I program in both and "need" them both. I believe this to be more of a Microsoft marketing strategythan an intrinsic limitation. If you are looking for internet development or database access VB is the hands-down best (it is marketed this way). If you are in need of developing ActiveX component development then VC++ is your best bet. You will loose the ease of doing something by choosing only one (that's the tradeoff). If after this you still do not know, learn both! If the C in C++ meant "Coolest" then people would prefer it over VB, it would be the most popular of the RAD (it is not and its almost twice as expensive).
Believe me, no one can hurt you by making you learn something and unchallenging goals never inspired greatness. You are almost there, this site is not for the common thinker.Good luck!

by dinesh_shetty682

I think Visual Basic should be learnt before visuall C++ since VB makes the concepts more clear especially for people who are afraid of C++, VB colud act as a startup

by frougier

The answer is pretty straighforward: VB. Because of the complicated concept behind windows itself along with its semantics and abstractions notwithstanding the fact that you need a full grasp of the c++ object oriented methodology before using, youshould stick with vb. Even in the future, vb should remain your tools of choice unless you need extremely hi perf. in a very small code, then you'd learn vc++...

by lju

Your reasoning isn't straightforward at all. I don't know where you heard that you need a "full grasp of the c++ object oriented methodology before using [Visual C++]" This is totally and utterly wrong! You can write straight C code using the win32 API functions in the VC++ environment and it works great. Now, MFC requires knowlege (but not complete knowledge, since the compiler helps you with little details, and sets everything up for you if you want it to.) "Visual C++" is only a tool, the actual language that most people I know (Computer Science students) is a hybrid mix of C/C++, more heavily C. Also, the assumption that starting with VB is the right thing to do because it helps you understand this or that is totally bogus. I honestly have never learned VB, or any type of BASIC. The language that you start with makes no difference in the scheme of things, its the understanding of the underlying processes of a given language and good programming practices (freeing allocated memory, making sure not to dereference a null pointer, knowledge of algoritms and knowing when to use certain ones, etc) are the keys to success. Many bad programmers learn a language, instead of how to program and wind up producing crappy programs. Good programmers are problem solvers, using languages and features as tools.

by alanplayford

VB is a simpler and quicker language to learn, and introduces the essentials of programming, especially the visual side of it. C/C++ are more of starters towards Java, and are more complicated to learn and understand for a beginner.
For solid grounding, learn VB.
For strategic future-proof programming, C/C++!

by trish_sutter

What do you want to develop? VB will work for a beginner and will get you started. The skill will transfer to web development if you want to go in that direction. Because coding ASP (Active Server Pages) is very similar in syntax to VB. Go to C++when you find VB limiting. C++ will allow you to write your own functions at a lower level or optimize existing functions.

As a hiring manager, I look for technical proficiency but I value more determination, creativity, organization, communication and problem solving skills. Once you've learned a couple of programming languages, learning the syntax for a new language is a piece of cake. It's those other soft-skills that will ultimately make or break your career.

Good Luck in your Computing Career!

by paul hayes

Hi

AS a VB programmer for the last 3 years and experience of C, Java, ASP, COM etc. I have researched which language I should learn for the future. One of the area's I am looking into is C# and VB.NET.

I have created a technical document on the two languages from white papers and research, if you would like a copy then please email me to request it.

by dprojans

Hi,I've been following this discussion with a lot of interest, I too am interested in learning programming simply to improve my skill set, so any advice on which to learn first is greatly appreciated. I would like a copy of the technical document that Paul Hayes wrote, since there wasn't an email address listed I thought I could request it through the the discussion.

Thanks for your time!

by barrys

I tend to go the other way thna most of the replys in this group. I learned C (not C++) 2 years before I ever picked up VB.

Since the major concepts behind most languages remain the same, picking up VB afterwards was a snap. Learn the hard one first, the easy one will follow very quickly.
I had VB mostly figured out within a week with my C base knowledge. Now I haven't used C/C++ in 2 years (been programming in VB for 4), but I can still go back to it if I had to.

by kbirdi

Hi Paul,
I too need help making a decision as to how and why to jump to vb.net from vb6. Please email a copy of your technical papers on VB6 and Vb.net.

Thankyou in appreciation.

by mseals

Paul, I would also like a copy of those white
papers. I an torn between Microsoft and Sun Java. I am a Oracle developer but I like to use VB IDE when possible. But it seems Oracle
is really teaming up with SUN.

by pr_raviraj

Hi Paul Hayes,
Gone thru ur letter.I'm also a VB programmer looking for VB.NET details.Could u pls forward the technical details to my mail id
pr_raviraj@yahoo.com
Regards,
Raviraj

by avv

I'm sure that it's really two question.

First: C++ or Basic?
Historically C++ more modern language than Basic. Of course Basic and Visual Basic are not the same things.
C++ has a lot of advantage before Basic (and VB). And a lot of literature about it.
I recommend Bjarne Stroustrup's (designer and original implementor C++) site - http://www.research.att.com/~bs/homepage.html.
You can find there some interesting articles - "Why C++ is not just an Object?Oriented Programming Language", "Learning Standard C++ as a New Language".

Another question: Visual or Not Visual?
Microsoft design and implement a lot of new technology. But some of these differ and compete with other technology (from international standard organizations).
Example: DCOM and CORBA. Another example: Windows and Unix.
So Visual may be not the best choice. I prefer C++ Builder.
Vladimir Afanasyev.

by sanatg

Visual Basic is easire on the beginner and can accomplish most tasks. C++ is messier but more powerful and faster. In the light of the coming dot net platform, you could learn Visual Basic first and then also pick up C#, the Sharp New Language. Learning C++ doesn't make sense if you're going to do only Application programming.

by bound4doom

I would start with Visual Basic, The main reason is once you become used to visual basic then C++ is easier to learn.

The reason I say Visual basic to start with is, it is a little more of what I would call a sloppy language. You can get by withdoing not so perfect coding. Which for a beginner well that is perfect. I mean you will still have to have all your variables declaired and things of that nature, but it is not as picky as C++, you can get away with not Optimizing code to run as fast as possable, where in C++ you need to or will at least want to optimize it as performance can really degrade.

Another thing I noticed no one mentioned before, is Active Server Pages, another core Microsoft web technology. ASP is simply web pages with Visual Basic Code in them. You can get really cool interactive and dynamic web pages and web applications going with VB.

C++ you will find is harder and much more of a perfectionist language. With a strong VB back ground you can easily pickup C++. Your first VB programs or scripts will be far from perfect but the good new is that is OK in VB. After a few programs you will start to see how to optimize the code, to get one line of code to do what took you 4 lines before. All this will make you program smaller and run faster, which I would say is a must in C++.

by shanghai sam

I will probably say the same thing the others have said, but since my graduate research thesis in Computer Science was in how people learn programming languages, I'll put in my two cents.

Visual C++ is a more flexible language than Visual Basic, but difficult to use and learn (steep learning curve). Even I had trouble with it and I knew C and a precursor of C++ and I had the compiler and development kit.

Visual Basic, on the other hand, I found easier to write. I sometimes write Excel VB macros and I never really gave learning Visual Basic a fair shake, but I had little problem writing short VB macros in Excel.

With the age of Java and the upcoming C#, I question the wisdom of learning Visual C++ unless you have no chice but to learn and use it. Java is much easier to learn and Javascript is trivial to learn if you already know C and a little HTML.

Also, in my local market, learning Visual Basic is really nice, but I would concentrate on Java servlets, Java applets, Javascript, and HTML. These are becoming essential for all businesses wishing to do e-commerce. Its not just for the dot-coms anymore.

Also, remember that Java applications are portable to other platforms, for those of us that do not work exclusively in a Microsoft world (all 13 of us, it seems like). Visual Basic and Visual C++ are not for they are only for Windows 16/32/64?? platforms.

Rob Steinbach, BS/MS in CS, CLP AD & SA
Programmer/Analyst/Administrator/Integrator

For inquiries contact: rcsteinbach@yahoo.com
Web site: (Pending)

by d.stanley

C/C++ are the standard languages for just about any heavy duty programming. Java was in fact based on C++. Visual Basic is nice, but it's not in the C family's league. Go to this page to download a free compiler, and you can try it out yourself to see if you like it. This compiler is called the Bloodshed Dev C++ compiler, and you can write programs in DOS format for easy learning, and then in Windows format for practical programs. Easy to use, too.

http://downloads.mediadna.zdnet.com/info/com.zdnet_downloads_00169C_00169C7.html?se=ink

by daniel.fortin

Why not use rad environments like DELPHI instead of VB or C++. It way of programming is much like PASCAL so much intuitive and more powerfull than VB. It'S also support local and/or web apps developments. It'S easier to distribute and upgrade.

by 5razus

I agree. Borland Delphi is easy to learn and develop applications. It uses object Pascal language which is considered as best for beginners. You can write units in Pascal also in C++ Builder later. Personaly, I lerned Pascal as one of my first programming languages and I am satisfied. I prefer Pascal even today.

by nevsco

Having programmed in both languages I would defintely concur that VB is easier to pick up. But also consider what OS you will be programming for. VB is great for a Windows enviroment but it will not help you much in a Linux one whereby a strong background in C will help you in most enviroments.

by mattgch

Visual Basic is a great first language - you get a lot of functionality in proportion to the amount of learning you have to do. The language is also present in many forms all around you: i.e. VBScript in IE & Active Server Pages, and VBA in MS Office and other apps. This means you can learn one language and do a lot of powerfull stuff with it in combination with programs that already exist.
Later, if you you need a programming language that is more customizable (but much more difficult to learn), try C++.

by jpg

Having very little programming experience myself, I have taken both VB and Java classes. I have to say VB came VERY easy to me and Java has definitely not. Java is so hot right now that my company is planning to setup a training program for entry level programmers so if you are up for a challenge and not easily scared off that is where I would start. (PS - Also check out the program you're enrolling in some require Basic or VB to start.)

by kbarry

Having the experience of going from one career field to another (more than once!), I have learned one thing that is crucial. Ask yourself if you are going to be a generalist or a specialist.

A Generalist would tackle the area of programming frommachine code up.

Pros: diversity, more able to see the forest.
Cons: long term commitment, study never stops

A Specialist would view the existing and upcoming trends. ie. existing trend = object oriented programming; future trend (just a thought!) = multi-platforms, multi-dimensional.

Pros: in demand, quick money
Cons: flash in the pants, less long term job security

Both have worked for me in the past. Both have helped more than hurt. Having made a commitment to a attack allowedme to perform well as a Generalist and as a Specialist.

I wish you luck.

by aniruddhajoshi

I have been through almost all the discussion here. Quite interesting discussion on whether go to Java (which I considered has evolved for C++, to some extent).

I feel that you should decide the type of application that you are going to develop. My decision tree would be very simple.

1. If you want to develope a business related software and of course in the least amount of time then Learn VB.

2. If you have a scientific / enginering / specilized products in mind then go for VC++. Remember your learning curve is going to be high here.

3. If you want to build cross platform applications, which are accessible on the net (and..... you want to make quick money) then learn Java.

Good Luck

by moki

Do you want a language that is easy to learn and use. Visual Basic is hard to beat for beginners who what to see some results fast.

Is your main concern your own marketability? If so Java might be your best choice. It really is a fine programminglanguage in spite of all the people who say it's a fine programming language.

Do you want to be able to do things very quickly? Perl rules the quick-and-dirty arena. It's free and there are tons of books and free online tutorials.

Do you want to be able to build interactive web pages? This is JavaScript's niche. It is also free and has lots of books and free tutorials available. All you need is a web browser and a text editor like notepad. JavaScript's two disadvantages: it is limited only to web pages and you have to know HTML first.

My overall best pick: Java

Hope this helps

by dsmacwal

If you have never programmed before start with VB is quite easy language to learn. This will teach you some components of programming then, as you get more experienced and knowledgeable then tackle C++ just because C++ has a lot to offer.

by warren smith

VB is easier to learn than C++ especially if you are not coming at it from a programming background.

There are lots of opportunites for VB & C++, but I suggest looking more at Java. It heavily borrows from C & C++ (trying to implement only their good features and trying to be completely object oriented) and of course it is platform independent making it very popular for integration of applications across an enterprise.

I believe Java is here for the long term and will continue to grow in popularity. I also believe there will be a shortage of Java programmers for years to come, thus maintaining higher rates for good Java programmers.

Java is not too difficult to learn and the opportunites are plentiful and will generally pay more than similar VB positions.

I just passed the Sun Java 2 programmer certification exam. It took 140 hours of study to do it over a period of 14 days(pretty intense).

I had a little knowledge of C++ & some of VB going in, but I was previously a mainframe programmer with 7 years experience.

I hope this gives you some idea of how much work might be involved to learn Java if you decide to give it a try.

Hope this helps.

by [spyder]

I am an MSCE that has done a 1 years intensive programming course and I want to program again. I have the same question ...wich langage is the best to begin

I know that C++ is a subset of C and that Java use OO like C++. But wich is the best langage for ma carrier and for my understanding of programming. Like I said, I know the logic for programming but I dont know witch langage to learn. Please somebody HELP ME!!!!

by basilisk

As you can probably tell from all the discussion here on this topic, there is no one best language to begin with.

If you want someone to hold your hand and reassure you that learning X will be the best for your career and the best way for you to increase your understanding of programming, then you are out of luck.

The point is to learn MANY languages. Especially if you want to have many good career opportunities and really become a good programmer. Learn them ALL, if possible. :-) (Ipersonally have learned Apple Basic, Pascal, UNIX shell scripting, C, C++, Scheme, and LISP fairly well at one point or another, and have had experience in ADA, awk, ML, Smalltalk, Prolog, Mini-Cecil, Java, Perl, Common LISP, SQL, and various HP calculator languages.)

If you have truly learned the logic of programming, then picking up any language should not be a difficult intellectual task. (Although it might be a time-consuming and occasionally frustrating task.)

by lju

Please read my post above (way above), but besides that I would start with C. (I know most of the people on this forum are VB maniacs, but I could care less) C is the foundation of everything, C compilers, Windows, DOS, Unix were all written in C.(Its an interesting fact that C compilers are written in C, like the chicken and egg problem...) Once you learn a particular language and how to program, picking up another language is a matter of weeks. Reference books are all you need. I learned C when I was 14, it took a few years to sink in. When I was 19 I learned Modula-3 in a week and Java in a few days. I've toyed with Visual Basic but never got around to actually doing enough to "learn" it. But if I needed it, I wouldnt give it more than a week to pick up. Now Visual C++ and .NET are only development environments, you don't really learn them as languages. You use them to help you write and debug code more efficiently.

By the way C++ isnt a subset of C its actually a superset.

by jdwebb60

I would suggest visual basic. i am a student at devry and visual basic is best to start with and proceed on to c and c++. visual basic gets you ready for the fore mentioned programming languages which are much harder and will take you right up to java. It should be done in that order. i have already taken c, c++ and cobol. I wish i would have taken visual basic and then cobol which would have made c and c++ much easier because i would have experience in structured programming and writing functions.

jim webb

by newbee

I am brand new to Programming but am expert at HTML and Most Internet Design functions like Javascript,DHTML, etc. But I want to start going the Programming route as well.

My question is did you guys go to school? Learned Computer Science? Pickedup a book one day and went from there? Or taught at work somewhere?

Myself I learned everything I know from discussion groups, tutorials tht are online and come with Software. Would that approach be too difficult for lets say Java or C ?

Or isit in your opinion better to go to school. I am 28 and not to keen on the idea for trading in my time at school for income lost. But if that is what I need to do then that is what I will do.

Your opinions please.
Thanks.
-Paul W

by psuwal

I would prefer VB rather than VC++, because I find it lot harder to program in VC++ even though I am fairly good in C++ program. VC++ simply creates lots of junk files which you do not want to bother to look at. In my experience, learning curve for VB is lot less than VC++ - you have to know lots of stuff that are going on in VC++. But this doesn't mean that VC++ is that bad (VC++ is also a powerful lang), it all depends on you. VB (interpreted/compiled language) is lot easier to learn and can do lots of stuff in VB.

by e_therrien

My first language was C and then C++, then I taught myself Visual Basic. I believe that VB is much more "Programmer Friendly" than C++ but I also believe that C++ can do a much more when it comes to really fun stuff. The capabilities of C++ far outweigh VB but there is not always a need for those high capabilities. I have more "fun" with VB but when it comes down to it... they are both needed to make a programmer's life a little easier.

by ajensen

I understand your point-
"... in fact the ONLY way, to really learn programming is by learning and using a language.".

However, I think this misses the mark. If the question is, "How do I become a programmer." then learning one syntax and the supplied function/object libraries is not enough. I agree that doing just that is a lot of effort but it hardly makes a good programmer. It may make a decent 'coder' (but this is not assured) and if that is all one aspires to be, well fine.

For example: I manage the development group for a vertical market firm. In my small shop we use Delphi, VB, VC++, PL/SQL, 2 proprietary scripting languages and maintain an older code base in FoxPro. Oh, did I mention VBA and a few macro-languages.

This next quarter we will be looking at moving to commercial application servers, so container managed Java Beans and XML here we come.

Now when I hire a developer I need someone that understands how to implement requirements in whatever language is appropriate for the project. If they need to learn a new syntax then I have no problem getting them some training.

by sureshg

Hai everybody,

In my opinion, if you are from the Non-technical background then you need to begin with the Visual Basic which is simple object oriented simple methodic language to write any program from begining to pro level.

Visual C++ requires some type of expertise in the Object oriented and programming skills and as well as the C or C++ knowledge prior to start with the Vc++.This helps in wrinting system level programming.This is for mainly useful and easy to begin with for the technical background programmers.

There is another aspect in choosing thes two is, if you want to become a Application programmer such as web developer or database programming,then the Visual basic is good opt to start with.
If you want write includingthe system level application for the users then the Visual C++ is the good opt for begin with because this will give a good programming skills.

This may help you in choosing these two.

Yours friendly,
Suresh Guduru.

This discussion is closed to new replies.