C++ is more interesting an applicable than what? Java? Let's see... 300 million Java enable processors are manufactured each month (if I recall correclty the numbers Jonathan Schwartz stated at JavaOne). 60+ percent of all enterprise applications are written in Java. Java is easy to learn. C++ ain't so pretty. Java has JavaRanch. C++ doesn't. I say, just learn to program in a good OO language (like Java). After you've figured out the basics, then figure out the applications that might interest you more. He says I should have taken C++ then learn Cobalt! What does that mean? Does he mean that instead of learning Java, you should be studying C++ and then Cobol? Well, we probably need somebody to maintain those old systems.
There is no reason you can't learn both C++ and Java. In fact, many of us do know both! But C++ is harder so it might make sense to start with Java. I think you might be better off learning C# though, instead of C++.
He says I should have taken C++ then learn Cobalt!
And after you master Cobalt (sic), you can move on to LISP (lost in silly parentheses). Seriously, if you are new to programming, learning the basics with Java is the best way to go and as you progress you can start experimenting with the OO side of Java. The problem with C++ is that it is a superset of C which is procedural language, so it carries all the hair and warts that its predecessor does. Just be happy that you have Java to learn, I can't begin to tell you how hard it is to unlearn the bad habits that languages like C, C++, COBOL, RPG etc trap you into.
Any intelligent fool can make things bigger, more complex, and more violent. It takes a touch of genius - and a lot of courage - to move in the opposite direction. - Ernst F. Schumacher
Java vs C++ is an old flame war, but I'll throw in one point of view. I'm developing software to run a business. That means I'd like every line of my code to do some busines function, tell me something about customer service. Every line that is managing memory or overloading equals is questionable. Now, with that (exaggerated) point of view, C++ is pure hell. Coders can spend all day on housekeeping code and deliver no insurance code at all. Java lets them focus more on the business and less on keeping the compiler happy. Other languages do even better! I have 25 years in the business and I'm a huge OO believer, but I have nothing bad to say about COBOL. It fills a business and technical need very nicely. Productivity and the ratio of business to housekeeping code can be VERY high. It has a rich data structure definition syntax. Mainframes easily support thousands of users doing millions of transactions a day. COBOL CICS has been doing stateless servers for thin clients since the 70s. Ok, it did take the committee 30 years to discover END-IF but nowadays COBOL is very capable.
A good question is never answered. It is not a bolt to be tightened into place but a seed to be planted and to bear more seed toward the hope of greening the landscape of the idea. John Ciardi
Joined: Jun 17, 2003
Originally posted by Dirk Schreckmann: What does that mean? Does he mean that instead of learning Java, you should be studying C++ and then Cobol? Well, we probably need somebody to maintain those old systems.
Joined: Jun 18, 2003
Thanks Stan, I feel appeased. I agree with Micheal however. If your starting out then Java is by far the best choice. Get a good grip of the basics in a friendly environment before waging war with