I am beginner in this field. I want to learn programming. So suggest me where i can start?
Java
or
C++
Which is easier to understand or they relate each other or not? I start first Java or C++.
Printable View
I am beginner in this field. I want to learn programming. So suggest me where i can start?
Java
or
C++
Which is easier to understand or they relate each other or not? I start first Java or C++.
This really isn't a question we can answer. Every person is different. You're on a Java forum though, so most people are going to say Java is better. If you went to a C++ forum, you'd get completely different answers. Same deal if you went to a php, lisp, or python forum.
How you learn, and what you think is important in a language, is up to you.
But if you really want an opinion, I vote you learn lolcode.
Sigh, but you've already received that advice, haven't you?
This thread has been cross posted here:http://www.java-forums.org/suggestions-feedback/41887-java-c.html
Although cross posting is allowed, for everyone's benefit, please read:
Java Programming Forums Cross Posting Rules
The Problems With Cross Posting
http://www.javaprogrammingforums.com...s-posting.html
Yes (using math or logic :P). Even if you only ever use one language mainly learning multiple languages is helpful for exposing you to design considerations which you may never have thought of. For example, I know of several C#/Java programmers who have a very poor grasp of memory models/managing memory smartly, and thus they'll do something like append thousands of lines to a String and expect it to perform well (fyi, it probably won't). On the other hand, C++ tends to encourage this mentality of premature optimization, where you're writing code that looks fast but in reality only gives you negligible speed improvements while neglecting readability, code stability, or providing a good user interface.
There's nothing saying you can't learn both languages at the same time (the basic syntax of both languages are similar), I would recommend getting a coin and flipping for which one you want to start with, learn a little bit, then learn about Computer Science topics (algorithms, OOP, functional programming, data structures, etc.), which tend to be mostly independent of what language you use. Along the way, you could also start learning the basics of the other language and see how to apply what you've learned about CS to that language as well.
If your purpuse is to understand the principles of OOP, I'd recommend you to start it off with ActionScript 3. It's syntax is very similar to Java but it's much easier to understand if you never learned any programming languages