Next language to learn VB or Java?

Status
Not open for further replies.

unreallystic

Wise, Aged Ars Veteran
117
I know C and C++ for the most part. I have been trying to figure out the next language to learn though. I am not a CS student *yet at least*, I am EE, but I program for fun. I want to do somemore windows applications, and I know someone on another forum who is constantly shouting about VB, and I have heard that more places actually use VB than C/C++ these days. On the other hand, Java is one of the future languages and the such...or at least the language of the I-net. I can't decided. I eventually hope to learn both, but I'd prefer to concentrate on one at a time. Any advice?
 

_Joe_

Wise, Aged Ars Veteran
130
I would pick VB, if you are interested in Windows applications. Actually, I would pick VB.net because it is more powerful and is more object oriented. Additionally, with vb you can turn around and use that knowledge to write .asp pages as well. On the other hand, if you are interested in non-windows programs at all, then I'd go with java because vb is windows only.
 

hansel

Smack-Fu Master, in training
70
The last time I searched Monster.com for "Java", "VB"/"Visual Basic", etc., Java brought up around twice as many hits as VB.

If you want to program something for the desktop, go VB. Java still blows there.

If you want to program for pretty much anything else, go Java. The productivity increase will freak you out--I'm three times as fast in Java as I am in C++. A couple hours in Java to create useful vertex, edge, and graph classes while I was noodling around took me several days to replicate in C++. Not that I'm in expert in either, but Java is just so much more... straightforward to code, at least to my mind. It also produces more readable code that's more easily organized.

Also, if you learn Java, then you've got a handle on a widespread language that will easily translate to C# if that language takes off, or if you decide you need to make something for the desktop. Your experience with C/C++ will make a lot of the design decisions for Java obvious and useful, and you'll understand it's pros and cons.

In my experience, the problem with VB is that it's too dissimilar to anything else to leverage your experience. It doesn't feel like anything else, the coding style is different, the organization is different, and you're largely reduced to gluing together pre-built components.

Also, you're competing with a bunch of web developers who realized they needed some kind of coding skill when the dot.com bubble burst. When I hired a systems engineer last Spring, I was deluged with resumes listing "web development/VBA", but no degree. It was freaking impossible to find a real programmer in the bunch (meaning someone who knew what an algorithm is).

Don't let the ASP argument sway you. I've done PHP and VB for websites, and now that I'm doing servlets and JSP, I'd have to pick Java as the best for writing scalable web apps. Mmmm, design patterns....
 
I would go Java over VB, my reasoning is Java is free and cross platform. All you need is Sun's (or IBM's) JDK and a text editor and your ready to go. VB on the other hand, you need to get a copy of Visual Studio ( i dont know if VB comes on its own or not) which can lead to some serious bucks...if you want to stay legit about it. Granted they have copies of it that come with books and that...but they are usually really crippled version of it. I guess its all up to want you want to do and where you planning to go with it.
 

unreallystic

Wise, Aged Ars Veteran
117
Well as it stands, my biggest programming project will be a RPG...prolly windoze. Because I worked for a MS solutions provider I got VS 6.0, but I don't have VB.net...finanaces are big for me, so being free makes java get an edge up. But from what I remember being told, Java has insane overhead...but judging from the replies, the positives outweigh the negatives. :p
 
For my money (or lack thereof) I'd go with Java, given your situation and goals as described.

Java is a good language, free of cost, used extensively all over the world. It is also an intellectually sane language.

VB has a large usership amongst non-programmers who need to produce gui front ends for Windows apps. As someone else wrote, VB is so unlike any other programming language, that you will not be able to leverage anything you learn in VB to any other language.

More important still, now that .NET is out, VB usage will decline rapidly. There is now no reason for anyone to learn VB, since newcomers to Microsoft's tools and .Net would be much better served to learn Microsoft's new langauge C# (C# is very similar to Java, and if you learn Java, then you can easily learn the few differences in C#). VB's claim to fame was easy GUI front ends, and now that C# will have the same claim to fame, no one new will ever want to learn VB.NET since it is 1. Ugly 2. has idiosyncratic syntax unsimilar to any decent programming language and 3. is not cross paltform, being Windows only; not to mention that it Costs Money.

So in learning Java, you will be learning a language you will use all of your life, and you will be learning usefull CS skills that will easily transfer to many other languages including C#, which will be asnap to learn after you master Java.

Speaking of being a snap to learn, since you know C++ you will learn Java extremely quickly and be up to speed, and your productivity will be much greater in Java than in C++. If you learnd VB, whether VB6 or VB.NET, you would spend a lot of time learning a wierd syntax in an inefficient language which would teach you unsound, bad programming habits.

Of course, you could learn Python and be an order of magnitude more productive than in Java even, but I still think Java is a great choice for you in your situation. ;-)))

Ron Stephens
 

hansel

Smack-Fu Master, in training
70
Originally posted by unreallystic:
I also didn't know that JAva was similar to C#, that's cool...

C# is Java with the security flaws put back into it. :)

Seriously, C# is widely viewed as Microsoft's attempt to kill Java, having failed with J++. To do so, they basically took Java and fixed what they (read: Anders Hjelbergstromneibulung) thought was still flawed, just as Java was somewhat deliberately designed to fix the flaws in C++. As a language, C# seems pretty decent, and the technical side of .NET is arguably pretty good, in theory.

But I'm hesitant to jump on another bandwagon. Having started as a web developer, I've seen more than my share of silver bullets come along, and their failure rate is pretty high. I touch nothing that hasn't been around for at least a year or two, and had most of the marketing hype burned off of it by use.
 

jeremy

Ars Scholae Palatinae
784
I've made money doing some VB coding and also doing java programming.

I got to take my soul home when I left the office when I was coding in java. (no flames please =)

Seriously though, maybe it was just me, but I just enjoyed the syntax and such more with java and didn't feel so boxed in like when I was coding with VB.

If you want to make windows only forms to put stuff into a database, then learn VB and you'll be set. All the jobs I've done concerning VB were taking one piece of data from the user and somehow plunking it into a database somehow.

My java experience involved writing small server processes and clients, and also some web applets. The java work was much more fulfilling.

Anyone else's experience match that?
 

BlackHex

Ars Tribunus Angusticlavius
9,639
Subscriptor++
C# is Java with the security flaws put back into it. smile
Actually C#'s security model is much more advanced than that of Java, whether MS have implemented it correctly god only knows.

I'm sure MS has high hopes of killing off Java but since C# is such a neat language and looks to become an open standard who cares?

Personally I think C# is very like Java but with 99% of the naf bits removed (whoever heard of a language with enums? Hell even vb had them). I'd wait to see the mono project get going before sinking my life into C# though.

Don't even think about VB - it's time has come and gone for all except the die hard's who've spent years learning it.

Go with Java for now and C# as soon as mono makes it a free proposition.
 
As a VB programmer, I'd suggest you learn C#. *sigh* VB is going to be a legacy language soon, I'm afraid. The advantages that VB had in getting working GUI apps built has been eclipsed by C#. The industry's energy and focus is on C# or Java now; for someone just starting, VB doesn't make sense.

How I'm going to make a switch out of VB is beyond me... "yes, Mr. Interviewer, I've studied C# (or java or whatever) and taken the cert tests even... no, my last job was strictly VB, which is why I'm looking to move on... oh, you only want someone with 5 years experience in C# or 15 years experience in Java, eh? ooookay..."

I didn't set out to be a VB programmer. I was a C programmer on SunOS. I was good; times were happy. Then I moved to a project that was VB front end/C++ back end. They trained us all in both... I was the only one that really understood the VB, so they asked me all their questions... I became the VB guru, so they wouldn't let me do any C++ stuff anymore... I was trapped, but when I left that company, all the new places dropped me right back into the VB world... I tried to get out of client/server, but no one would hire anyone for web work unless they had done it before (did the first people lie about it?) and the reason I wanted to move on was because where I was wasn't doing web work... I'm stuck here now... no way out... no hope... save yourself! Turn back to the light! Turn back to the light...

(ahem) Sorry. I'll just be over here alternating between being overdramatic and rocking in my chair, with occasional weeping sessions through in for good measure.
 
I am quite sure that anyone who quickly became a guru on VB is smart and adaptable enough to use those programming skills in just about any set of languages. Furthemore, you will beocme much more productive in Java, or C#, or espcially in Python ;-))

Look on the brighter side of life...

The bad old days are behind you, and the future beckons....

Watch some old Monty Python reruns and learn Python. It might take you a whole day to become proficient, but then it's fun so who will notice the passing time...;-))))

Ron Stephens
http://www.awaretek.com/plf.html Python City, the easy place to learn Python and be amused while you do... ;-))))
 
Originally posted by Ursus Maximus:
I am quite sure that anyone who quickly became a guru on VB is smart and adaptable enough to use those programming skills in just about any set of languages. Furthemore, you will beocme much more productive in Java, or C#, or espcially in Python ;-))
Heh. That's more words of encouragement than I've received from any of my employers in the past 5 years. Combined. (I wish to hell that were a joke.)

I might as well start studying Java; I've got to do *something*, and even if I had a copy of VS.NET, my old home machine has Win98 on it, and VS.NET won't run on Win98. Does the conversion from Microsoft whore to Sun whore hurt? :)

Python looked interesting... but I want to get a job, too. I'll have to start researching job opportunities this evening. Much of a call for Python programmers?
 
beliee it or not...

Ther are actually psotings form tiem to tiem on comp.lang.python for Python programmers needed. But hey, let's not kid ourselves, Java is whewre the action is.

Even a journey of a thousand miles begins with a single step...

Anyway, getting out form under the evil empire willmake you feel much better, like you have life not mortgaged to Bill...
 

unreallystic

Wise, Aged Ars Veteran
117
Originally posted by Ursus Maximus:
I am quite sure that anyone who quickly became a guru on VB is smart and adaptable enough to use those programming skills in just about any set of languages. Furthemore, you will beocme much more productive in Java, or C#, or espcially in Python ;-))
I agree 100%. The beautiful thing about programming, is once you get the basic ideas down, you just have to learn how to tanslate your ideas. If you know VB and C++, then you already know how to program, you just have to learn a alternate programming language. I'm doing most of this for fun as of now. My big intrest lay in EE and honestly towards robotics with some AI on the side...the AI is a large reason I started learning how to program, now I just do it for fun and ease. Right now I am working on programs to make cleaning up my website quicker. But I learned C++ in high school, started learning C in summer school, and now I feel comfortable teaching myself other languages. If you haev tons of experience in VB, and in your early programming years in C++, then again, all you hae to learn is the new terminology, and some tricks, and I would be willing to put money *if I had it* on that people on the forum would be more than happy to yhelp you with those tricks.
 
Status
Not open for further replies.