SRL Archive - News and General

Java or C++ ?


Runehack123

2012-12-02 12:59:00

I got two huge books. One on Java and one on C++.
The only problem is, I don't know which one to read first and which one would be more useful to learn.
If some of you advanced programmers could give me some insight I would really appreciate it! :)

Or answer this: Why is Simba using Pascal? Since that's a really old programming language and isn't really used anymore. :)

Looking forward to any sort of feedback!

bugger0001

2012-12-02 13:19:46

Well, Java is these days pretty much industry standard in almost everything, but C++ is something that actually makes you learn all the essential hacks and helps you actually understand how software interacts with hardware. If you are going to read both books for educational purposes, then I'd start with the C++ one.

TehNeonFishy

2012-12-02 13:24:22

I'm learning C++ at university. It's quite good, not the easiest though, but the rewards are great.

Brandon

2012-12-02 13:55:55

Well as always I'll say C++ for sure. When the C++11 TR1-3 classes are complete and a lot of the new standard is added, Java usage will probably go down. Java is popular due to the JVM imo.

The Killer

2012-12-02 14:05:31

From: Runehack123
I got two huge books. One on Java and one on C++.
The only problem is, I don't know which one to read first and which one would be more useful to learn.
If some of you advanced programmers could give me some insight I would really appreciate it! :)

Or answer this: Why is Simba using Pascal? Since that's a really old programming language and isn't really used anymore. :)

Looking forward to any sort of feedback!


Can't answer the first one but we are slowly moving away from pascal and on to lape because many scripts are compatible.

Kasi

2012-12-02 14:07:08

start on java, move onto c++ ;)

ShawnjohnSJ

2012-12-02 14:25:25

From: Kasi
start on java, move onto c++ ;)


I agree with this. By learning Java first, you don't have to deal with a lot of the low-level things like memory management and pointers so its a lot easier - so when you finally move on to C++, you already know a lot of the high level things, you just have to translate it over to C++.

euphemism

2012-12-02 14:31:09

From: The Killer
Can't answer the first one but we are slowly moving away from pascal and on to lape because many scripts are compatible.


We will still be using Pascal. We are moving away from the PascalScript interpreter to Lape, which is an interpreter written by nielsie95. Both PascalScript and Lape are interpreters for the Pascal language.

grats

2012-12-02 14:58:32

@OP I'd go with java first and move into C++ there are lots of similarities

From: euphemism
We will still be using Pascal. We are moving away from the PascalScript interpreter to Lape, which is an interpreter written by nielsie95. Both PascalScript and Lape are interpreters for the Pascal language.


I thought lape existed… nielsie95 wrote it?

rj

2012-12-02 16:42:23

Java can be iritating.. if you have the wrong java version or anything you get an ass ton of errors..

Mr[S]

2012-12-02 17:06:52

Java will be gone pretty soon, the same has happened to flash, it was big a couple of years ago but now it's pretty much dying out, Java will have the same life cycle, my guess would be C++

[XoL]

2012-12-02 17:11:47

I learned java first (still in class) I find it works well as a basic start to everything.

Mr[S]

2012-12-02 17:14:44

Yeah but learning Java first would be ideal then C++

x[Warrior]x3500

2012-12-02 17:19:05

i guess im the oddball here. i learned c++ first, then after a few years of developing in c++, i learned java. if you have a steady foundation in c++, java is a very very easy language to learn. i would go my route, but i guess thats because it is the only route i have experienced.

DannyRS

2012-12-02 18:42:22

Like alot have said, i personally would learn C++ because like the first reply said, it will teach the core of low level management, its best imo to learn from the ground up, if you can program in C++, picking up Java will be easier than the other way around, also good because C++ is more likely to outlive the Java language (no way to be sure obviously)

Personally i know C#, Java, Basic C++, Basic various other languages i have experienced

I wish i had learned C++ before C# and other high level languages, hopefully you can learn from my mistake :)

Although from what i have seen recently Java is what job recruiters are looking for, so if you want a job quickly in programming, maybe java is the way to go

euphemism

2012-12-03 04:26:14

From: grats
@OP I'd go with java first and move into C++ there are lots of similarities



I thought lape existed… nielsie95 wrote it?


Aye, it's his baby.

[XoL]

2012-12-03 04:30:07

From: DannyRS

Although from what i have seen recently Java is what job recruiters are looking for, so if you want a job quickly in programming, maybe java is the way to go


Very true, my uni has a near 100% job placement program for computer science majors only because there is just a high demand and most of them are picked up for java applications with companies like GE, Microsoft, Samsung, Motorola (These are just the ones that asked for interns like 3 weeks ago).

You can't go wrong learning either one, but I would learn what ever interests you more. (Even if that contradicts what I wrote earlier :p)

Runehack123

2012-12-03 06:42:34

Just wanted to say thank you so much. All these replies were 100% helpful!!
:)
Based on everything so far, I think I'll go with C++. I'm just a little anxious to give everything a start since the book has the thickness of the LotR trilogy (all books combined) haha. :)

I'm doing a gap year and planning to study maths next year. Got a part-time job as video broadcast co-ordinator (I work with Tricaster by NewTek so a lot of the time I'm around computers and cameras). Programming interests me because of the mathematical aspects and the logic of it so this is something I do in my part-time.

Kevin

2012-12-03 18:25:53

From: Alpha Kue
I agree with this. By learning Java first, you don't have to deal with a lot of the low-level things like memory management and pointers so its a lot easier - so when you finally move on to C++, you already know a lot of the high level things, you just have to translate it over to C++.

+1
It also depends on what you want to do as to which language his better. C++ is an industry standard in relation to jobs involving hardware at a higher level (Garmin, Boeing, Microsoft and many others). However, C++ has to be compiled sepearately for different operating systems. Java only needs to be compiled and written once.

However, Java is a dying language. sSome companies still use it in legacy code, but they're getting rid of it. C# is the next big thing for high-level programming. But C# is ridiculously similar to Java so learning one practically covers both. In most situations Java is also the slowest among all 3 languages (I mentioned at least), but it's still more universal than anyothing else and is tamong the simpldst to learn while still teaching you generic coding concepts (HTML does not count as coding).