I’m asking myself: Should I concentrate on writing OpenGL ES for Android using Java, or write OpenGL in Visual Studios?
Once you go high, you probably just stay high. Java’s high-level abstraction is what puts me off on C++. Especially the GC part.
I’m asking myself: Should I concentrate on writing OpenGL ES for Android using Java, or write OpenGL in Visual Studios?
Once you go high, you probably just stay high. Java’s high-level abstraction is what puts me off on C++. Especially the GC part.
I don’t know why you think you can’t do both? I love Java, but I also am starting to like C++. Limiting yourself to one type of language (high level for instance) is a very very bad idea, and definitely will not turn you into a good programmer. Different languages have different uses, Java is good for some stuff, C++ is good for other stuff. Never try to do everything with one language!
And no offense, but if you don’t like C++ because its not high level then I don’t think you’ll have very many opportunities in the future in terms of programming… Many popular languages aren’t high level like Java. I believe many companies still use old languages from before year 2000 because those are the old powerful reliable languages.
This is a very ignorant thing to say. First stop using the term no offense when you’re gonna say something that is condescending and directed at someone else. Second
I don’t see many low level languages on there, do you? Just because someone prefers a high level language doesn’t mean that they wont get a job in CS or SE if that’s what they want to do.
There is lot more to programming software development than knowing many programming languages. It is about algorithms, data structures, system and class design, performance, databases, testing, reliability, maintainable (!) software, taking objective decisions, team work, enduarance, etc. etc.
Those things are important for getting a job.
For the average business developer job you can easily get by without C++ or any low level language. Java, JavaScript, C#, SQL, PHP.
However, if you are masochistic enough and spent those long years that it takes to master C++, you surely have a valuable skill.
Not a single C job out there? I smell bit biased statistic.
Valuable, as in getting paid a lot of money to maintain some 20 year old rubbish code base. So if you are a masochist go for it.
Hold on kids. Java isn’t a very high level language.
I have to disagree. Java is one of the highest level languages I’ve used so far. I’m of course not including languages such as VB because hah… yeah. Java is pretty damn high level.
I would assume C jobs are lumped into C++, that is a good observation though. But the idea remains. Many servers and smaller companies tend to use Java, because it tends to be cleaner and also gives you the ability to produce reliable code faster (which is the whole point of a higher level language).
I imagine Java is used for much of the front end code in a company. C++ for the powerful back end.
My point though wasn’t about the specifics of jobs. I was trying to point out that limiting yourself to one style of programming (Java) isn’t going to help you in the long run.
Hold on old man. Why even bother posting this. Java is higher level than C/C++ and that’s what we are discussing right now. Lots of old school hackers i talk to consider C++ a high level language and they have a point. At the same time there are many other people who consider Java a low level language and they also have a point. It is all relative, to each their own, but in the context of this discussion Java is considered high level and C/C++ low level, so lets keep it like so.
Btw, http://en.wikipedia.org/wiki/High-level_language lists Java as a high level language.
and so does oracle http://docs.oracle.com/javase/tutorial/getStarted/intro/definition.html
[quote]Btw, http://en.wikipedia.org/wiki/High-level_language lists Java as a high level language.
[/quote]
But keep in mind that theoretically everybody can write everything in there. Useless Statement, sorry.
But keep in mind that theoretically everybody can write everything in there. Useless Statement, sorry.
[/quote]
K, oracle does too: http://docs.oracle.com/javase/tutorial/getStarted/intro/definition.html . that useful enough for you?
Yup.
Erm… no
If you really want to go the C++ route, make sure you fully understand and see the implications of its object model. Especially regarding virtual functions, virtual destructors, when and why you need them and how pass by value works for objects.
Also keep in mind that C++ code might look correct, compiles and even runs, but could be still be very wrong…
Can you please explain why you said no then? I didn’t mean every company uses those specific languages, I was trying to get a point across that Java is high level and isn’t (from what I understand) used for the heavy liftinf because that’s not what its best at.
Not at all.
What an atrociously pointless discussion you are having in that case.
It’s not all relative, not in this case. A high level languages basically only means you don’t have to write assembly code.
The question of “mastering” C or C++ is hilarious. Knowing how a language is designed and learning its syntax isn’t difficult at all. What you seem to be bickering about is how well one knows the standard libraries that come with the languages - complete and utter nonsense. You use the tools and libraries you need to get the job done regardless if they’re “standard” or not. The same goes with Java or any language.
Considering todays abundance of smaller languages and the way you seem to be comparing Java to C++, Roquen is absolutely right.
And the statement that C/C++ is inherently just faster than Java is also false and completely meaningless without of context.
I’m going to pick a strange argument and say that C++ is on it’s way out and the only people who still use it are those maintaining legacy code and those too ignorant to go and learn something else.
The more I think about it, the more it makes sense.
Also, The Programming Steamroller
Edit: Not to say that Java is a valid replacement. In many cases, it is not.
So what is c++ actually used for? Is it even used for games as much as people claim?
It seems it’s either c# or Java from everywhere I read, besides AAA game companies that are using 5-10 year OKs game engines like source.