Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

C vs. Java

Name: Anonymous 2008-01-08 15:09

A couple of days ago, I had a conversation with one of my dad's friends that I know who, like my dad, is an Electrical Engineer (E11 for those of you who know what that means).

We were talking about programming and Linux, since I've been trying to figure out what I should learn so I can know everything that I'd ever need to use when operating Linux (i.e. bash scripting, sockets, autoconf, etc). I'm still trying to figure out what I need to learn and what I don't. We were also talking about what languages were important to know.

What surprised me was, even though he's a double E, writing in C for a lot of his coding work, he believe Java is actually better for teaching in colleges and the like than C is.

I have posted before that I believe I have been lucky to be learning C as my core curriculum at my college instead of the other Java schools, so when he said that i was stunned to say the least. He believes that Java is better because C is outdated, and many of the concepts in it aren't really necessary these days. Pointers and memory are difficult to deal with, mostly due to having to learn how to not mess them up rather than how to use them. But it could also be said that they aren't used as often these days, considering the languages more commonly used and the power and speed of hardware these days. Also, C isn't used as often these days, and most jobs will probably be using other languages (he, like I, also loves Python). I plan on becoming a DBA, for instance, so it is unlikely I will need C (feel free to try and convince me out of going in that direction, though many may try anyways, I doubt it's possible considering the security, pay, and overall lack of stress involved in the job [despite the copious amounts of blandness I've come to accept, considering the rest of the job market these days]).

Personally, I have learned both (Java first for 2 years in HS, got a 5 on the AP exam, and now have been learning C in uni), and somehow I can't agree with him, and side more with C. First, I find it fascinating (the whole theory behind pointers and memory usage and the like seems really interesting to me, at least thusfar), and because of learning C now I understand a lot of concepts that I was left clueless about learning Java for 2 years (such as, I never understood wtf the purpose of LinkedLists were in Java, or why we used them over ArrayLists). Just a single semester cleared a lot of things up for me, and I also believe the coding being more difficult forces me to become a better programmer, generating more competent code before I even write it down and compile it. If this is true, it will help me code in whatever other languages I learn in the future. I'm mostly trying to get a good base for Computer Science, but is it worth the difficulty of what many may consider a "legacy" language? Am I wasting my time on something I may never use?

I know how much you guys tend to love C, so I was wondering what arguments you might give in response to something like this.

Name: Anonymous 2008-01-09 5:25

>>20
COMPILER ERROR AT THE SAME TIME BITCHES

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List