General discussion


C vs. Java vs. VB

By evmafau ·
I took some basic programming classes for C and Java in college and was starting to look at learning VB. I want to get proficient with programming where it is a skill that I have, but not neccessarily make a career out of it. Which language would be the best to focus on? Any suggestions as far as books so I can teach myself?


This conversation is currently closed to new comments.

Thread display: Collapse - | Expand +

All Comments

Collapse -

All three ...

by stargazerr In reply to C vs. Java vs. VB

have their own place in the programming world ... but learning Java is the best I think ...

Since OOPS is the way, the world is moving and since .Net .. (gaining a lot of popularity) works on the same rules as Java ..

Thing to remember is ... Java branches into J2SE (Java 2 standard Edition or what some people call Core Java), J2EE (Java 2 Enterprise Edition, includes EJB, Java Beans, RMI, Servlets) and J2ME (Java 2 Mobile Edition, programming for WAP). These three cover almost all aspects of programming.

Good Luck


Collapse -

define "best"

by apotheon In reply to All three ...

Java is certainly the language that, as a skill, will provide the most opportunity to work for pointy-haired bosses. Java is a career decision, though, not a decision based on a genuine interest in programming. Java's real strength as a language is in its ability to allow large numbers of mediocre programmers to work on a project over a period of months or years without screwing up the codebase too badly.

Object oriented programming is indeed "the way", according to the common "wisdom", it's not the be-all and end-all of programming. If you really want to know what you're doing and make good decisions about what sort of programming you need to do for a given task, you're better off learning a lot more than just OOP. Functional programming, for instance, is similarly valuable, and perhaps even more valuable than either is Lisp-style macros -- though such knowledge is unlikely to get you a job in and of itself, it will help to provide a more complete understanding of the subject matter.

I'm afraid I have to disagree with the suggestion that learning multiple styles of writing Java code covers "almost all aspects of programming." In fact, it covers very little, and I get the impression that you probably haven't much experience with programming outside the Java sphere of practice. Little things like symbols or macros can make all the difference in the world when you're trying to produce truly excellent code, though most Java programmers probably have no idea why, or even that such things exist in programming languages.

Collapse -

Like I said ..

by stargazerr In reply to define "best"

OOP is "the way" people move ... not necessarily the way everyone should move ...

Java can handle many of the real world problems but every language has its own area of expertise .. One should learn the programming language(s) that suit one's need best .. The guy asked for a choice between VB, C and Java .. so I gave him one


Collapse -

So what do you suggest, oh Enlightened One?

by wordworker In reply to define "best"

Apo' you did a great job of dissing the first responder, but you utterly failed to answer the original poster's question. Your response was unresponsive. Which programming language or languages do you recommend?

Collapse -

DRY principle

by apotheon In reply to So what do you suggest, o ...

I addressed the original question more directly in some other posts in this discussion thread. I sometimes try to actually apply the DRY principle to what I'm doing, so don't expect every single post from me to say exactly the same thing. You might realize that this snap-judgment post of yours was inappropriate if you bothered to check out some of the rest of the thread.

I'm beginning to get the impression that you just like to disagree with me.

Collapse -

The Problem is......

by MrMat In reply to DRY principle

It seems as though all these people are far too intelligent and knowlegable to get to the idiot factor....
Your program...
Make a window... (call make a window library thingy)
Display something (call the display some stuff in that window thingy)
The user clicks something (call the window thingy and the click thingy)
Do something (call the do something thingy)
That's all good, because when any part has to be reused, or any part goes wrong, it's a small part to check.
Of course, when something goes wrong - you get to know right?? sort of..
You programmed all that stuff, and it cleans up after itself, but when you double click and nothing happens.....
It's a matter of being blessed by the creators to make their money for them.

Collapse -


by paul_e_ray In reply to define "best"

As one of the true old timers in PC development (Started out in pre-Apple and IBM started developing in Assembly (for M6800, Z80, 8080, 8085) C, Pascal, Fortran, Modular 4, Lisp, Dbase, MSBasic, through VB 1 - 6, Java, C++, and more recently C#. VB.NET and Java, yes for those in the know that makes up roughly 28 years). I really think the arguement of which language is better than the other is truely moot. If someone wants to know what to develop in for a career I would recommend not asking what each can do as that would result in a draw, but which they prefer to code day in and day out. Try learning a little and writing a small application in each and then decide.

Collapse -

You probably want to learn C++, C#, or Java

by jmgarvin In reply to C vs. Java vs. VB

VB rides the short bus. While it has its uses, it just doesn't have the power to do much other than simple scripting.

C++, C#, and Java are object oriented languages (you'll see OOP a lot...Object Oriented Programming). C++ is probably easier to understand and easier to pick up if you know C. Java is nice, but it can be confusing with all the little pieces that can break off and choke small children. C# is the java-alike from MS. I prefer C# to Java in some ways, and want to destroy C# and all in stands for in others. While the networking and UI development for C# is pretty well done, it has wonky issues that make me question if MS forgot to add some things.

All in all, you want to pick up an OOP. C++ is probably the best starting point and moving on from there shouldn't be too hard.

Good luck!

Collapse -

As Tony put it in his post below..

by Jaqui In reply to You probably want to lear ...

Pick the language that has the highest demand where you are living, or is growing in demand.

you will learn programming no matter what language you learn.

as much as I detest the idea I need to learn java to get more contracts around here, my c and c++ skills are useless, they want java and .net framework [ usually ]

java being a **** poor excuse for a programming language, as all languages that are interpreted, it is meant for simple scripting only.

Collapse -


I'd have to disagree with the characterization of Java as a "piss poor excuse for a programming language". It really is quite powerful in many ways, although I detest it in others. If I could pick the language to work with for any serious development effort, here would be my order of preference:

1. C#
2. C++
3. Synergy/DE ( for those of you who have never heard of it)
4. Java
5. Delphi

If I had to drop down to VB 6.0 I might have to slit my wrists, although I can endure it for small projects.

Related Discussions

Related Forums