Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mikes63737

macrumors 65816
Original poster
Jul 26, 2005
1,158
346
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.
 
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.
 
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.

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.
 
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.
 
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.
 
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.

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)))
 
Thanks everyone! I'll start learning Java.

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)))

Do French people code in English?
 
Thanks everyone! I'll start learning Java.



Do French people code in English?

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.
 
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
 
Do French people code in English?
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. :) ).
 
Thanks everyone! I'll start learning Java.



Do French people code in English?

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");
}
 
HAHAHA. This is something I once wondered when I began learning to program. Everyone is stuck with programming languages invented by english speakers
<snip>

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
 
Thanks everyone! I'll start learning Java.



Do French people code in English?

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.
 
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

Well, I'm Dutch and I never use these terms... I thought everybody simply used "acquire" and "release"?
 
Well, I'm Dutch and I never use these terms... I thought everybody simply used "acquire" and "release"?

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
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.