Results 11 to 20 of 39
Thread: C++ or Java
-
12-03-12, 07:36 PM #11
Re: C++ or Java
Yeah Bunni, Java is a referenced language. JRE is poorly implemented, slow, and won't provide much for serious developers. It's claim has always been cross-platform through portability. Many other languages have been able to make safe type coding, and portable code, possible to some degree without as much loss in performance or capability. I agree if you want to learn programming generically C++ is the way to go.
But I also believe some skill sets will benefit greater with an introduction to Java as a softer way to understand GUI/OOP. I am pretty sure the only reason Java has not succumbed to other languages in this line of study is because of the way it also extends into browser based 'coding'.
Hell Calc/MatLab and all those ridiculous ECE courses provided a better structure for engineers. It really depends on what level of focus you want programming to be as a part of your career path.
You're an exception because you love anything&everything about programming. If someone is even asking this question they probably do not have that same level of focus. So although the language falls short on many aspects he just wants an answer on what may be better -- and the answer is it depends.
-
- Join Date
- 11-13-07
- Location
- Plano, TX and Ruston, LA
- Posts
- 32,364
- Post Thanks / Like
- Blog Entries
- 43
12-03-12, 07:41 PM #12Re: C++ or Java
I'm quite interested in programming actually. I had just put it on a back burner while I learned physics as I was mainly using MatLAB and ROOT.
enf-Jesus its been like 12 minutes and you're already worried about stats?! :-P
Bigdog-Sweet home Alabama you are an idiot.
-
12-03-12, 08:11 PM #13
Re: C++ or Java
Then don't limit your exposure. For formal courses go with C++ and familiarize yourself with Visual Studio (Express is free and you will likely get a student licence for pro with your courses). Notepad++ lacks in general and I mostly use it as a portable app for assisting with conventional spacing and readability. Makes HTML/CSS/Jscript fairly manageable.
I have a personal liking to C#. SharpDevelop is portable and can compile applications as long as the framework you are running on supports usage (eg .NET 2.5 / 3 / 3.5 etc). You can always piggy back the assemblies on your thumb drive and re-reference the project to the framework later if needed.
I favor C# readily because the grammar melds pretty well with most other .NET languages. Very easy for making desktop applications and officially supports XNA for XBOX game development. With your background in physics you may really enjoy this aspect of it. (pong anyone? )
Whatever you decide I encourage you to stick with .NET launguages. With assemblies you never have to revisit old accomplishments in an old language and rewrite them. You simply make them into DLL files and reference them.
This is literally the tiniest tip of the iceberg. Application development and programming have very very broad uses and methodologies.
-
12-03-12, 09:19 PM #14
Re: C++ or Java
I agree with what most people have said here. Depending on the reason, you may chose one language over another.
However, if you are learning programming for the first time in your life, I recommend Java only as a stepping stone. Learning how to manage memory efficiently is a core concept in programming. After beginning with an easier to use language such as Java, you should change to C++, which more accurately represents how a computer actually handles instructions and memory.
I recommend Visual Studio express as an IDE for C/C++, with eclipse for Java.
Sent from my DROIDX using Tapatalk 2
-
-
-
12-03-12, 09:56 PM #17
Re: C++ or Java
My guess is that any C++ will focus more on actual Computer Science, while Java will focus more on software development.
(NC-17) Howlin: got plans for me do you?
[TPG] ab1tar: oh yeah
[TPG] ab1tar: youre on my list of ppl to do
(NC-17) Howlin: woh abbi, should you buy me dinner first
-
- Join Date
- 08-20-07
- Location
- Tempe, Arizona, United States
- Posts
- 1,418
- Post Thanks / Like
- Blog Entries
- 2
12-03-12, 10:22 PM #18Re: C++ or Java
If I may inteject some history, Java was created by James Gosling specifically to show that a language need not have pointers in order to do the majority of programing tasks. The result is that Java is much easier to learn, hence it is now the defacto first language of many programmers. (since anything involving pointers, malloc and free is hard, basically anything involving math or thinking about what your doing, but I digress.)
Now Gosling created smaltalk and java was an evolution of those concepts. For what its worth, C++ may be entirely too powerful, see Template Metaprograming. The result is that morphisms of code under template metaprograming are not invertable, put another way you can turn C++ into any language but not back again.
-H
Standard Disclaimer: 150% of what I say is bullshit.
-
- Join Date
- 08-20-07
- Location
- Tempe, Arizona, United States
- Posts
- 1,418
- Post Thanks / Like
- Blog Entries
- 2
-
12-03-12, 10:46 PM #20
Re: C++ or Java
C++, end of discussion.
+1
I started with Java and moved to C++ later. Java is easier to learn. Expertise in C++ > expertise in Java. Both are valuable to know, but C++ moreso.
I would actually suggest using Linux with C++, but if you are not comfortable with Linux or do not want to learn it, (Windows) Visual Studio is okay. If you are serious about programming, you must know Linux.
If you want a full fledged IDE, Eclipse is great for Java. Otherwise, you can also run in through the terminal in Linux.
I run my Linux distributions as virtual machines on a Windows computer.
Also, I have never heard of a university that divides the curriculum by language and by language only. Surely, there must be some other differences between the two options, such as subject focus (e.g. enterprise development vs. software engineering)?It's Enchanted Broccoli Forest time!
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks