C first? or Java first?

Pages: 1, 2, 3, 4, 5, 6, 7
free web hosting

Read Latest Entries..: (Post #66) by BitShift on Jun 23 2006, 06:27 AM. (Line Breaks Removed)
I learned Java first and now I'm trying to learn C++I think this was a HUGE mistake. I got so used to all Java's built in functions, commands, and classes that when I try programming in C++ I get so frustrated because everything is not as straightforward as Java is.I would have definately learned C++ first. Even though its a harder language to start out with and learn, it is better for you... read more.
Read the FIRST post of this Topic. - Express your Opinion! Contribute Knowledge :-).

Free Web Hosting > Computers & Tech > Programming > Programming General > C, C++ & Visual C++

C first? or Java first?

dissipate
Java was taught first in school and I learnt C about three years later. I reckon it was quite tough switching from Java to C and it'd have been better if I learnt C first then Java. Was discussing this with a couple of my friends at that time and those that had learnt Java before C agreed. Would like to know your opinions about this.

Reply

Jhonny
Should be C++ or Java first.

C and Java have just a few simmilarities. While C++ (or any other Object Oriented language) is more similiar to Java.

Although C++ is OO lang, it still is mix of OO and non OO. While in my opinion Java is pretty tight Object oriented lang.

I'd vote for Java first

Reply

almoo7
Well, in our programming class, we learned Java first before going to C. smile.gif Sorry for the short post, this is a sincere contribution though. laugh.gif

Reply

helix
That's a hard one to answer. I learned C in programming1, and C++ in programming2 and never was taught java. I think maybe for the people with no programming experience at all, java would be a good way to start since it's a simpler and more constrained language. But I voted C just because that's how it was for me and I turned out great! smile.gif

Reply

phoboi
I would say learn C first. Yeah like another poster stated it should be c++. Java is based on c++. It was designed to eliminate the overly complex features that c++ had. Both languages are powerfull and pretty much do the same thing. However, java is just simplier to use. I say learn c++ first because if you know it really well then learning java would be really easy.

Reply

helix
QUOTE(phoboi @ Sep 21 2004, 07:28 PM)
I would say learn C first. Yeah like another poster stated it should be c++. Java is based on c++. It was designed to eliminate the overly complex features that c++ had. Both languages are powerfull and pretty much do the same thing. However, java is just simplier to use. I say learn c++ first because if you know it really well then learning java would be really easy.
*



But that's a good reason to learn java first -- it's easier to learn programming concepts first. Then move to C++ and learn all the little idosyncricies in that. I just can't make up my mind if that's better than learning all the little things like pointers and dynamic memory first. hmmm...

Reply

jun xin wô xin
I learned C++ first and found it really hard to understand for a while. I did learn a lot, but going with java first would be the better way to go because it just makes learning it a lot easier.

Reply

currahee
I've heard that C is completely different from C++. If you want to learn C then C++, just learn C++ or one or the other because it would be much more eaisier.
Also I think Java is really really hard. Even worse than C++ itself. I would just stick with C++ or Visual Basic laugh.gif

Reply

bx93
I'm not the majoritarian.smile.gif

Though C, C++, Java is different between each other. I think C language is valuable to learn. I learnt C in 1990 and now I has already forgot the very detail. But I got the basic concept of the programming, this still help me in the programming with other language. Actually for our programmers, the languages are just the tools, we may choose one from others, but the skill in programming is the important and could be helpful each time.

Of couse, we may choose C++ to learn at first, then transfer to Java.

Reply

marijnnn
i learned c++ first and i'm glad. though java has more ready to use functions included, c++ is just better to start because you focus on the basics: you learn to make calculations, you learn to do loops and conditional stuff. you learn about classes, functions,...
once you can handle that, you can switch to java, which offers you the possibility to easily create gui's.

besides, i think that, once you know C, you know a lot of languages: c#, java, php, awk,... they are almost the same as php.
and switching to other languages like vb and stuff goes fine too, because you know how to use loops and stuff


Reply

Latest Entries

BitShift
I learned Java first and now I'm trying to learn C++

I think this was a HUGE mistake. I got so used to all Java's built in functions, commands, and classes that when I try programming in C++ I get so frustrated because everything is not as straightforward as Java is.


I would have definately learned C++ first. Even though its a harder language to start out with and learn, it is better for you in the long run.

Reply

Ola Daniel
I say better to learn C first. Its not like its a requirement for Java. But its a valuable skill to possess. In my case I learnt C language first then shifted to C++ and right now Im using Java for everything like crazy. But Im glad i have a background in C and C++. Oh and by the way the basics of C, C++ and Java are only slightly similar by the time you get to the object oriented part they are worlds apart. Same logic but worlds apart.

Reply

Unitechy
i learned c then c++ yet java yo learn
how much time it takes to learn java?
considering tht i have not completely mastereed c++ yet???

Reply

KazDoran
In my opinion, Java has far too much nitpicky details to begin with.

First, every time you want to make a new public class, you have to make a new file with it inside.
This forces you to import loads of files for small projects.

In the other hand, C allows you to declare all the data structures in the same file (not recommended tongue.gif) and you don't have to worry if they are or are not in the same file.

In C it's easier to make mistakes, but then again, you learn a LOT with them. It's a bit funny when your first programs start spitting out wierd characters or just seg fault because you moved too far into that array... biggrin.gif

Has it was said before, after learning C, Java will look like a simplified version of it. Sort of. tongue.gif

If you're just learning the basics, there's no point in going over interoperability, because the standard C libraries are avaliable for every system.

C is also great to learn how some higher level functions work. You can very easily manipulate strings, lists, arrays and trees in Java, but it's not nearly as fun! smile.gif Why? Because you'll WANT to do them all by yourself some day, because that existing tree type doesn't do stuff the way you'd like it to. Up goes the home-made one! smile.gif

Sure you can do all that in Java as well, but let's say Java doesn't encourage that much by having all those things ready to use. laugh.gif

All in all, I (as you may have noticed because, oh I don't know, I didn't talk about anything else this whole post) voted for C. smile.gif

Reply

Compuccino

Wow the votes are at 50-50!
I learnt Java first, found it hard but you should always have someone to help you as you learn faster!
I voted C as I tried it and found it much easier (and regretted learning Java first!)

Compuccino

Reply


Got an Opinion! Express your Views! (no registration):-
Add your Reply/ Opinion/ Views/ Comments/ Suggestion/ Questions/ Queries etc.
Posts with decent grammar & English will be accepted and please refrain from profanities.
For asking a Question, We recommend you to sign-up (for free) so that you can track the topic easily.

Nature of your Post*: Opinion/ Reply/ Comments
Question/Query
Feedback to us.
       
Name   Email
Title/Question*

(Maximum characters: 10,000)
You have characters left.
Confirm Code:

Pages: 1, 2, 3, 4, 5, 6, 7
Similar Topics

Keywords : java

  1. Embedding Flash Or Java Into A C++ App... - ...and how? (3)



Looking for c, java

Searching Video's for c, java
advertisement




C first? or Java first?



 

 

 

 

ADD REPLY / Got an Opinion! a humble request :-) RAPID SEARCH! Free Hosting [X]
Express your Opinions, Thoughts or Contribute more info. to help others.
Ask your Doubts & Queries to get answers, So that "Together We can help others!"
Register FREE for AD-FREE forum, Create your own topics, Ask Questions, track topics, setup subscriptions & notifications and Get a Free Website w/ Email and FTP.
500MB Space *No Ads*, CPanel, FTP, PHP, MySQL, EMails - 100% FREE