Which language should I learn next?

Discussion in 'Mac Programming' started by mikes63737, Mar 16, 2008.

  1. macrumors 65816

    Joined:
    Jul 26, 2005
    #1
    Currently, I know HTML, JavaScript, CSS and PHP. I eventually want to be able to program in Java. Is there a language that I should learn before I start Java since I'm used to web languages?

    Also, does anyone know any good websites for learning new languages? Not sites that serve as a reference, but sites that can teach you the language even if you know nothing about it.

    Thanks.
     
  2. macrumors 68040

    Joined:
    Apr 22, 2005
    #2
    I'd just jump right into Java, it's often used as a first language and if you already know JavaScript, a lot of the syntax will look familiar.
     
  3. macrumors 603

    Cromulent

    Joined:
    Oct 2, 2006
    Location:
    The Land of Hope and Glory
    #3
    Just go straight for Java. PHP will have given you the grounding in object orientated programming (if you used the features available in PHP5) and maybe Javascript as well (I have no idea about Javascript at all). Knowing that it should simply be a case of learning a new language.
     
  4. macrumors member

    Joined:
    Feb 21, 2008
    #4
    Since you're comfortable with Javascript and PHP, C/C++ or Java will be relatively easy to pick up. Assuming you program with Macs, Obj-C might be a good language too. However, if Java is your goal, go for it.
     
  5. macrumors member

    Jeff Hall

    Joined:
    Apr 10, 2006
    #5
    If you're doing web applications/enterprise apps, Java is what you want (unless you want to go the .NET route).

    Programming apps for the Mac? Learn Objective-C and then get familiar with the Cocoa framework.
     
  6. macrumors 68030

    Catfish_Man

    Joined:
    Sep 13, 2001
    Location:
    Portland, OR
    #6
    Javascript is really not much at all like Java... superficial similarities, maybe.
     
  7. macrumors regular

    Joined:
    Jan 24, 2008
    #7
    When I read a topic of your thread, I thought another meaning of word "language" )) I wanted to advise you to learn French for example)))
     
  8. thread starter macrumors 65816

    Joined:
    Jul 26, 2005
    #8
    Thanks everyone! I'll start learning Java.

    Do French people code in English?
     
  9. macrumors G4

    Joined:
    Jan 5, 2006
    Location:
    Redondo Beach, California
    #9
    I've seen it go both ways. It only matters with Open Source projects because with closed source ther end user never sees the code. But it the project goes iternational it is almost always English. I know of several large projects where most of the coders are not native English speakers but they code in English because that is the only way for some one in say Russia to comunicate with someone in Japan. It's fun reading the email lists. You can see the "accent" and know without reading the email address where the person is from.

    I supose there is a lot of software that does not leave France that is written in French but most of us will never this it. I'm sure we're seeing a very biased sample.
     
  10. macrumors member

    cruzrojas

    Joined:
    Mar 26, 2007
    Location:
    USA
    #10
    Well I'm from Mexico and I have seen this JAVA SDK translated to spanish. But I have the feeling they did it at Spain. Basically they translated all the objects and methods or most of them. I can imagine they paid someone to go an make functions like this
    Code:
    public boolean crearNuevoArchivo(){
       return this.createNewFile();
    }
    
    :p
     
  11. macrumors 65816

    Muncher

    Joined:
    Apr 19, 2007
    Location:
    California
    #11
    You might want the basics of C. Otherwise, go straight for it!
     
  12. macrumors 6502a

    Denarius

    Joined:
    Feb 5, 2008
    Location:
    Gironde, France
    #12
    As far of syntax of commands is concerned, nobody to my knowledge(except Mexicans apparently. :) )translates commands into foreign languages (I suppose someone could get carried away and write a library of wrapper classes for the english built-in commands, but it seems a lot harder than learning a few words in a foreign language). You'll find comments, ids and the like are, for the most part, in French although not in all cases.

    This is an example of a french website.You can see the comments in the source are in French. (To moderators:I hope a link to the french unemployment office doesn't contravene house rules. If so I apologise. :) ).
     
  13. macrumors 6502

    theMaccer

    Joined:
    Oct 7, 2006
    Location:
    SoCal
    #13
    Even Chinese people code in English (Im Chinese btw.). lol
     
  14. macrumors 65816

    Joined:
    Apr 19, 2004
    #14
    HAHAHA. This is something I once wondered when I began learning to program. Everyone is stuck with programming languages invented by english speakers

    Someone translate this to Chinese-C :D
    Code:
    while(true) {
        printf("endless loop\n");
    }
    
     
  15. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #15
    It's fringe, but we english speakers have to deal with verhoog and prolaag(probeer-te-verlagen) for semaphores thanks to Dijkstra. We owe him one for all he gave us, I guess.

    -Lee
     
  16. macrumors newbie

    Joined:
    Apr 18, 2008
    #16
    I don't know about the French, but when I worked at a German company in Germany we typically wrote our code in English, but commented it in German. It certainly is possible to name all your variables, classes, and functions in another language, but the language itself and the libraries generally retain their English names. I did see the occasional code like that when I was in Germany, and I thought it looked kind of strange. The vast majority of the code I saw there was English with German comments.
     
  17. macrumors 6502

    Monkaaay

    Joined:
    Jun 19, 2006
    Location:
    Richmond, VA
    #17
    Java is a good first language in my opinion. I would just jump in.
     
  18. macrumors 6502

    Joined:
    Apr 24, 2008
    #18
    Well, I'm Dutch and I never use these terms... I thought everybody simply used "acquire" and "release"?
     
  19. macrumors 68040

    lee1210

    Joined:
    Jan 10, 2005
    Location:
    Dallas, TX
    #19
    maybe it's not as widespread as I believed. I thought V and P were the standard names for the operations. Maybe it was because Dijkstra was a Chair at my CS department for 16 years, and they wanted to take any opportunity to bring him up.

    -Lee
     

Share This Page