![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#11 |
|
Programming Guru
![]() ![]() ![]() |
Re: c++ vs. java
Learn them both. On a side note, C++ will be here when most of us are dead and gone, kinda like Cobol and Fortran
![]()
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
#12 |
|
Expert Programmer
Join Date: May 2005
Location: East Lansing, MI
Posts: 663
Rep Power: 4
![]() |
Re: c++ vs. java
so true, some of the programs that I work on belong to dead people. I know because some were written back in 1972. I always put RIP next to their name in the mod box
![]() |
|
|
|
|
|
#13 |
|
Hobbyist Programmer
|
Re: c++ vs. java
Personally I have a distaste for Java because I feel it is unnecessarily verbose (see this post for more on that) and rigid. I prefer a language with high amounts of expressiveness, but by my standards, C++ doesn't come close either.
The best solution is to flip a coin, and I'm serious. You can learn plenty of the intricacies and better and worse points after that. Just don't get language deadlocked. It is particularly sad how many people who are in the industry or really programmers in general do not seek more knowledge, better solutions, and keep asking questions. Rather, they get locked to one language because that is what their job is and that is what it depends on. It would be quite tragic for you to do the same thing. Anybody can have quirks and language biases, even the best programmers. They may seek work more related to such things. But when it comes to a project, this should never stop you from just getting things done, favorite language or not. |
|
|
|
|
|
#14 |
|
11 years old
Join Date: Nov 2007
Posts: 79
Rep Power: 1
![]() |
Re: c++ vs. java
C++ was created to be a more OO C, and Java was made for a completely different purpose; to be a programming language used on the web.
__________________
iload_0 iconst_1 ishl or iload_0 iconst_2 idiv or iload_0 iconst_2 iconst_1 imul idiv [1] & [2] use the smallest stack size |
|
|
|
|
|
#15 | |
|
Professional Programmer
Join Date: May 2006
Location: Maryland, USA
Posts: 306
Rep Power: 3
![]() |
Re: c++ vs. java
Quote:
__________________
Robotics @ Maryland AUV Team - Software Lead |
|
|
|
|
|
|
#16 | |
|
Programming Guru
![]() Join Date: Jun 2005
Location: Adelaide, South Australia
Posts: 1,198
Rep Power: 5
![]() |
Re: c++ vs. java
Quote:
In practice, like any feature of any programming language or environment (Java includes aspects of both), those features have trade-offs. Portability via the JVM gives an effect known as "write once, debug everywhere" (as different JVMs work differently), "no pointers" contributes to some loss of expressiveness which makes some things more difficult to code, and "garbage collection" is only a partial solution (it addresses some problems with memory usage but not with other resources such as file handles) that can make a program behave unpredictably at times because of the way the garbage collector works. The above is not at shot at Java; I can equally describe trade-offs of the counter-part features of C++ (not relying on a JVM, supporting pointers, and garbage collection not being the default). I agree with others who have said that there is no universal "best". Each language suits some applications better than the other, and each has weaknesses. Despite claims by zealots in either language. |
|
|
|
|
|
|
#17 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: c++ vs. java
I recommend that you go straight and learn C++. Do take in account that at first it is VERY complicated and you have to be comitted, but over time it almost becomes second nature. You might feel confused at first if there is any point to go passed HTML because of the complexity but don't turn away. You could follow my advice because I was in the same prediciment as you are in now; many people told me to way because of my age(14) and did other things such as to learn Python first, the thing is that I dd actually try but found it so hard that I quit.
You might wonder "Why the hell you I listen to a child?", right? Well the only way I could get you passed this is maybe explain how much I learned and show what level I am at so that you can feel slightly more secure about your choice(if a child can do it then so can I! Is the feeling you should get ). Hmm, currently I am able to create applications like Paint and can even create screensavers... I'm currently am working on a project that makes windows transparent as well as make certain parts of a window invisible or even a colour/color.So for my ending statement I guess I'm gonna say go with C++(in general I believe it has much more power then Java)... NOTE to all: Please, do not give me any flak for this post. ![]() |
|
|
|
|
|
#18 |
|
Professional Programmer
![]() Join Date: Sep 2005
Posts: 419
Rep Power: 3
![]() |
Re: c++ vs. java
>and you have to be comitted
On the plus side, the Jell-O is fantastic!
__________________
Even if the voices aren't real, they have some pretty good ideas. |
|
|
|
|
|
#19 |
|
Programmer
Join Date: Dec 2007
Posts: 93
Rep Power: 1
![]() |
Re: c++ vs. java
I'm confused... But I like Jell-O to :p
|
|
|
|
|
|
#20 |
|
The Oblivious One
Join Date: May 2005
Location: Ontario, Canada
Posts: 630
Rep Power: 4
![]() |
Re: c++ vs. java
__________________
Dr. Zoidberg: [ecstatic] I'm going to a movie... with FRIENDS! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Programming with Java: Tutorial | ReggaetonKing | Java | 7 | May 20th, 2008 10:58 AM |
| Special browser in Java (Project) | stalefish | Java | 3 | Feb 9th, 2008 4:22 PM |
| First Java Program | duale2005 | Java | 3 | May 22nd, 2006 5:17 PM |
| Java programmers, game developers, artists, be ware! RPG game team is recruiting! | atcomputers.us | Paid Job Offers | 7 | Sep 25th, 2005 7:25 PM |
| Begin my first lesson to learn Java | satimis | Java | 7 | Mar 3rd, 2005 2:45 AM |