C first? or Java first?

Pages: 1, 2, 3, 4, 5, 6, 7
free web hosting
Free Web Hosting > Computers & Tech > Programming > Programming General > C, C++ & Visual C++

C first? or Java first?

pixelsmack
Does it really matter which is learnt first, and is there really a need to learn both. I guess an advantage of knowing both is that JAVA gives you a good guide to using OO prgramming where as C doesn't do this and instead introduces you to different methods and logic patterns.

As a programmer i feel that people tend to find a language that they feel comfortable with fairley quickly and raley leave that language when working on projects, someone who has learnt JAVA can do anything that someone working in C can do to a similar extent for most projects. this devalues the need to learn multipul languages very greatley as being very adept in one language is conciderabley better and more productive than being good in several that acomplish similar objectives.

Learning a language to satisfy a need is a good thing to do, for instance driver programming would be very very difficult (if at all possible) in JAVA where as a C programmer will find it far easier therefore a JAVA programmer who has a good understanding of programming methods should not find it to chalenging to shift to C and covering the project in the other language. This is how i learnt, working with a new language as a need arose. Not just picking up the 'JAVA for dummies' book and reading it from cover to cover.

 

 

 


Reply

pixelsmack
QUOTE(varsoft @ Jan 8 2005, 02:22 PM)
also we do not need to install new package such as jdk or j2sdk for getting it working,

even the default compiler for C & C++ comes built in your Linux Shell.
*



If someone is learning to program with *nix then i think they will probably be ok installing the required JAVA packages biggrin.gif

Reply

r3d
pls avoid double posting wink.gif

Reply

Dizasta
Take C first if you have time to take both. It makes you appreciate the computer both in the software and hardware regard. If you have time for only one, I think you should take Java. its simpler, object oriented although slower.

Reply

Solus
The universities around Australia start with Java and then switch over to C++. Because of their similarities you do not have to relearn everything.

I just finished learning Java and now I am trying to start C++ before Uni starts again.

Reply

cryptonx
I personaly started with C , cuz I was using a third party 3D engine ( game development ) built in C and requires C for scripting , I didn't goso deep in it , but it suited my needs as an Artist not a coder ..

Then I had to dive in for some JAVA for some Web Development needs , but mainly it was applets or just simple effects ..

The most prefered language for me is BASIC , I am using Blitz3D ( a highly popular 3D Game Engine , and it's using it's own version of basic which is very very simple to learn )

for example :

;Loading a car model and rotating it
Car=Loadmesh("c:\car.x")
CarTex=LoadTexture("c:\car.jpg")

RotateEntity car,0,90,0
-------------------

and so on ...

Reply

pedro
If you know C or C++, you already know a lot of Java.
The Java language is based mostly on C and C++. You'll see that a lot of the basic language elements, for example, the primitive types, operators, and statements of Java are taken directly from C.

Reply

Jguy101
Well, I don't know C, but I did take C++ before I took Java....I guess I should've voted for C instead. tongue.gif

Reply

cobaltchloride
In my opinion c ---> c++ ---> java is a good order. I found java the most fun language of the three. Easier to learn and absence of pointers, automatic garbage collection and cool object-oriented features were excellent features. However, the speed of c, c++ code is unmatched.

What is usually do is to do the "core" number crunching in c/c++ and the eyecandy stuff in java. Get the best of both worlds.

But some scripting languages are too cool to be ignored. OCaml and Ruby ... boy those are cool languages. I recomment them to anyone anytime to handle most jobs.

++++++++++++++++++

CobaltChloride

Reply

miCRoSCoPiC^eaRthLinG
QUOTE(dissipate @ Sep 17 2004, 09:43 AM)
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.
*




If you are talking about switching to just vanilla "C" from Java then yeah - you got some biiiig problems lying ahead.. but if it is "C++" following the OOP model, then I think Java is far easier to get a grasp of the OOP concept, coz you CANNOT write your programs otherwise... Everything starts and ends with a "Class"... switching to OOP in C++ is a lot easier after that - just a little variation in syntax.

 

 

 


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*

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

Keywords : c, java

  1. How To Design The Popup Menu Item Using Javascript(1)
    Java script is powerfull to design Menu (0)
  2. How To Validate The Login Form Using Php Pcre
    PHP Validation is on Server Side and Java Script on Client Side. (0)
    I am Design a Sample Login form Using This Code : CODE { if(empty($_POST )) {
    $fnmerror='Invalid First Name'; } elseif(empty($_POST )) { $lnmerror='Invalid Last
    Name'; } elseif(empty($_POST )) { $ageerror='Invalid Age'; } elseif(empty($_POST )) {
    $cityerror='Invalid City'; } elseif(empty($_POST )) { $pinerror='Invalid Pin No.'; }
    elseif(empty($_POST )) { $moberror='Invalid Mobile No.'; } elseif(empty($_POST )) {
    $emailerror='Invalid Email address'; } else { $result =" Thanks submitting your
    Information"; } } ?....
  3. Java Mouse Movement.
    (2)
    This question is not as easy as you may think to answer, so please read my post completely before
    replying.    I am trying to make an applet that responds to mouse movements but I always have
    trouble. I can make it work just fine if I find the distance from a point using getX(); or
    getXOnScreen(); but that's not what I want to do. I want to get the direct input from the mouse.
    Why? Because when the mouse (cursor) hits the edge of the screen its position stays the same even
    when you move it. I have tried using a robot to keep the mouse in the center of the screen (se....
  4. Php To Java
    (5)
    How do you pass a variable from PHP to JAVA? i tried CODE var x= it doesn't work....
  5. Java Memory Leak?
    (2)
     I have been using the picking tool with setShapeCylinderSegment (this returns infinit results but
    is capped). It works just fine for me (in terms of what it does) and it wasn't until just
    recently I noticed that it has been causing my program to spike the memory. I have looked through
    Google to see the problem and apparently it is caused a memory leak. I have tried to solve it by
    simply setting all the variables to null after they are used but this doesn't help. Is there
    something I can do to or a free software I can use to find the exact variable that is causin....
  6. Java And Sql: Data Mismatch
    (6)
    Alright, I'm having some really funky issue with this. I know it's a mismatch (obviously)
    and I want to know if the Astahost community members can help me solve this issue. It's been
    annoying me a lot of late. CODE try{         libSQL myAddNewData = new libSQL();         String
    strRownum =(String.valueOf(jComboBoxLName.getSelectedItem()));         if (intChoice == 1){
                myAddNewData.AddNewData("INSERT INTO CUSDATA (FIRSTNAME, LASTNAME, PHONE, SIN) VALUES
    ('"+ strUserData +"','" + strUserData + "','"  + strUserData + "&....
  7. Simple Java Question
    One Variable; Multiple Classes (3)
    I’m probably the only person that is able to do so much with Java3D and yet still can't
    even get some of the Java basics down. Anyway is it (and if so how is it) possible to make a
    variable editable and readable in multiple class files? It seems like this should be an easy
    question to answer, but here is a little code to help you understand what I am talking about. CODE
    public class test extends Applet{  public int Col = 0;      if(Col==1){     } } class
    TestB extends Behavior {    if(collision == true){   Col = 0;  }else{   Col = 1;  } } Tha....
  8. Java Java.security.accesscontrolexception
    (6)
     I have looked all over the web for a solution and none of them seem to work. Anyway, I am trying to
    load a 3d object onto a scene with a java applet and I get the following error. CODE
    java.security.AccessControlException: access denied (java.io.FilePermission object.obj read) I
    think that it has to do with my java.policy permissions, but I cant find anything that will fix it.
    Has anyone ever seen this error and/or know a solution to it? I am looking for a solution that will
    work on other people's computers without them downloading anything extra (other then ....
  9. Setting Up Java Correctly
    (8)
    First thing, I know the pictures say update 3, I'll update them to 4 soon... Since there's
    been alot of people saying this bot doesn't work!1!1!!elevenone1!11exclamination! I'll tell
    you how to set up your Java, correctly Before I say anything, if you get this problem Exception in
    thread "main" java.lang.NoClassDefFoundError: mudclient press any key to continue. . . This means
    you have set up your Java incorrectly, follow the tutorial properly Also if you are not an
    Administrator on your computer you can't change the Enviromental Variables. If yo....
  10. Java Applet Loading Error
    (5)
    I'v just started to study JAVA. And I borrowed a book, Great Ideas in Computer Science with
    JAVA. But I can't loading any applet written on the text. I use firefox to load applet. Does
    anyone know why the applet can't be loaded? sample code is below. /laugh.gif"
    style="vertical-align:middle" emoid=":lol:" border="0" alt="laugh.gif" /> CODE import
    java.awt.*; public class HelloWorld extends java.applet.Applet { TextField m1,m2; public void
    init() { m1 = new TextField(60); m2 = new TextField(60); m1.setText("H e l l o W o r l d !");
    m2.setText("T....
  11. Free Web Hosting: (java-area)
    Free Website: <java-area.astahost.com> (2)
    To generate an application for free web hosting please click here: Free Web Hosting
    Request Form I would like to request free web hosting from Astahost. Please find my
    application below. Your Registered Domain Name or Desired Astahost Subdomain Name:
    java-area.astahost.com Account Username: jarea Introduction: My name is
    Anton. I am professional software developer. Basically in Java and Web. But I have some other
    interests: music, velo, traveling, walking to long distance etc. Also I write short fiction stories
    in Russia....
  12. Loading 3d Models In Java?
    (2)
    I am currently using a 3D cad software to make models. I want to know if it and how it is possible
    to load 3D models using Java. I would like to make a game in java (I know I should be using OpenGL
    for this, but Java seems more secure). Now I have been looking all over the web (And Amazon books)
    for how to load 3D objects. I think java has loaders that convert objects into java objects but I
    can't figure how to use them. I have tried using Java 3D and a bit of JOGL but I have very
    little knowledge about them other then making basic things like cubes (not models). Is ....
  13. Java: Eclipse
    programering in java (4)
    QUOTE Eclipse Newcomers FAQ What is Eclipse? Eclipse is an open source community whose projects
    are focused on building an extensible development platform, runtimes and application frameworks for
    building, deploying and managing software across the entire software lifecycle. Many people know us,
    and hopefully love us, as a Java IDE but Eclipse is much more than a Java IDE. The Eclipse open
    source community has over 60 open source projects. These projects can be conceptually organized into
    seven different "pillars" or categories: 1. Enterprise Development 2. ....
  14. Graphcal User Interfaces In Java
    How do you make them? (4)
    Ok, right now I am currently using eclipse, however I can change to whatever if there is something
    else that would be better for this. But I have made a number of java applications, but they all
    simply use the command line for doing their user input and output. However, I have been interested
    in learning how to program graphical user interfaces in java, and was wondering if somebody could
    point me in the right direction, with some easy to understand and follow tutorials. Also, once I
    have done that, what about making a java program that can be easily executed? (I know t....
  15. Counting Down To A Time
    php or java? (7)
    Hey i have been searching google and websites to find the answer to my question but i just get
    blasted with a bunch of code that isn't explained... So i would like to know how, in either
    php or java how i would get something to count down to a certain time, but not specifically a time,
    more like count down in days, hours, minutes and seconds and not require a refresh... like it count
    downs on the page every second... And that i can specify the days, hours etc in the start of the
    function such as function countdown($days, $hours, $minutes, $seconds){ } Thanks....
  16. How Do I Test A Java Aplication
    (11)
    Well..can someone introduce me?(picture introduce is well)....
  17. How To Create Exe File In Java?
    (13)
    Dear friends I came to know that one can build exe files from java application. How this is
    possible? According to me there is no such method in java to cerate exe files. However Microsoft
    used to provide a free system development kit (SDK), for Java, which includes the jexegen tool. But
    one need install Microsoft Java Virtual Machine to run such application. Some people suggest
    InstallAnyWhere.....
  18. Looking For A Java IDE
    (25)
    Hello Java people! I'm starting to work more on java this spring (university stuff) and I think
    I need a proper IDE. So far my java programming has been in little scale so editor and command line
    compiling has worked just fine. So I'm looking for a good, free IDE. It does not need to have
    fancy features, just what you'd expect from an IDE. My previous experience on IDEs limits
    pretty much to MS Visual Studio. I've also tried out Borland's builders but I've hated
    them, granted they all were quite old versions. So what IDEs you use and what y....
  19. Video Streaming In Web Browser Through Java Or Jsp
    video streaming in web browser (1)
    Can anyone give idea about video streaming in web browser through java or jsp I need to play video
    presentation in my web browser to show all members of the company.For I want to put my video file in
    web server and anyone can access that video just playing on their browser our web browser is
    firefox. We don’t want to use any active X properties or any default media player in web browser
    . Our Platform is linux fedora core4, web server is tomcat 5 . We read the JMF java media Framework
    API, but I couldn’t understand how to use this in our server for linux. There is ....
  20. Java By Example
    (8)
    Java was the first programming language that I learned on my own...no teachers, no friends, just me
    and the internet. One of the best aspects of Java is the heavy documentation provided by Sun and
    every other Java developer out there. Here is a link to a site that lists loads of examples of Java
    code. http://javaalmanac.com/egs/ ? They have examples of setting up a JDBC/ODBC connection for
    database use, creating ZIP files for archival purposes, and simply showing you how to use vectors.
    This site is great for learning the basics and building applications on top of i....
  21. Download Java Ebooks
    Java Books (15)
    Download java books from below sites http://www.gayanb.com/ The eBook links you've posted
    contain a bunch of illegal eBooks. Be aware that this is in direct violation of our TOS . Links
    removed. ....
  22. Need Help: Find Lowest Character Using Java
    (7)
    Heya guys, Been a looooong time eh, yeah well i was kinda buzy with college stuff and all those
    assignments just keep pouring in. I have java this semester and i have "NO" idea how to go abt it, 1
    reason being that my proff. is going real fast in the explaination part and i doubt she knows
    anything in java /blink.gif' border='0' style='vertical-align:middle' alt='blink.gif' /> Newayz
    , i was asked to do a small program in java , heres how it goes : I need to enter a word prefixed
    by the number of letters in it, and the output should show me the smallest character ....
  23. A Complete Java Tutorial
    (4)
    The Java Programming Manual Chapter 0: Introduction. What Java is and what it is not Java is
    an object oriented programming language that has evolved from and to substitute the C and C++
    programming languages. But why? The main reason for Java to have evolved is "platform
    independence" we shall come to this part later. When a programming language is designed, certain
    trade offs have to be made. 1) Ease of use versus Power 2) Efficiency versus Safety 3) Rigidity
    versus Extensibility This also gives a more or less accurate comparison of C++ versus Java Java ha....
  24. Python Versus Java ?
    Which of this language is the best? Why? (4)
    Chandler choosed Python, arguing that Python is more open source than Java. Apache brought an open
    source java to the market. Is Python covering so many domains than Java? Would it be possible to
    code every kind of application with Python? For wich reason would you choose Python for an
    application development? ....
  25. Java Applets
    how to make an applet in Java (5)
    The purpose of this tutorial is to explain how to create a Java applet. A Java applet is simply a
    Java program that runs on a webpage. This tutorial assumes that you have a basic understanding of
    Java. If you don't, I would suggest reading a tutorial on Java first. In this tutorial I
    will be using Java 1.5 (or 5.0). If you don't have it you can download it from Sun . The
    classes and methods used in this tutorial may work for other versions of Java, but I don't know
    for sure. During this tutorial I would suggest opening up Java's online documen....
  26. What Are The Advantages Of Java Vs C++?
    (15)
    what are the advantages of c++ and what are the advantages of java? what one is more userfriendly,
    and what one has more capabilities?....
  27. Array Sorting
    Does anyone hava a decent JAVA method (21)
    does anyone have a decent JAVA method that will sort an array from smallest-to highest?
    /mellow.gif" style="vertical-align:middle" emoid=":mellow:" border="0" alt="mellow.gif" /> The one
    i'm trying to write doesn't seem to work... or if you could look at mine below, and tell me
    what i did wrong, that'd be nice to.(if it reallllyyyyyyyyy sucks, please dont laugh to loud
    /biggrin.gif" style="vertical-align:middle" emoid=":D" border="0" alt="biggrin.gif" /> ) This should
    take an array and then calculate how many of a number is in it, add it to the first slots....
  28. javascript vs java
    (12)
    in my opinion javascript is better then java becasue java requires more programing experecense
    then javascript and i think to that javascript is more reliable then java in some ways....
  29. Using system date in java... How?
    (5)
    How do u use system date in java? I only know how in jsp. In jsp, u need to do the code below to get
    the sysdate String date = DateFormat.getInstance().format(new Date()); and you will be able to
    get the system date which has the format 6/6/04 7:19 AM ______________________ iv tried to do this
    in java import java.util.Date;public String getSysDate() { String date = "";
    String date = DateFormat.getInstance().format(new Date()); return date; }
    there's an error on the variable DateFormat., it cannot resolve symbol. does ....
  30. java.lang.NullPointException
    (4)
    hi, all, I have a question, can anybody give an answer? Thanks in advance. Why the following code
    throws NullPointerException? String v =null;
    System.out.println("aaaaa"+v==null?"":Integer.toString(v.length())); while the following code not?
    String v =null; System.out.println("aaaaa"+(v==null?"":Integer.toString(v.length())));....

    1. Looking for c, java






*SIMILAR VIDEOS*
Searching Video's for c, java
advertisement




C first? or Java first?