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,154
339
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.
 

admanimal

macrumors 68040
Apr 22, 2005
3,531
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.
 

Cromulent

macrumors 604
Oct 2, 2006
6,812
1,100
The Land of Hope and Glory
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.
 

alaceo

macrumors member
Feb 21, 2008
32
0
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.
 

Jeff Hall

macrumors regular
Apr 10, 2006
100
0
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.
 

Flowero4ka

macrumors regular
Jan 24, 2008
178
0
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)))
 

mikes63737

macrumors 65816
Original poster
Jul 26, 2005
1,154
339
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?
 

ChrisA

macrumors G5
Jan 5, 2006
12,917
2,169
Redondo Beach, California
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.
 

cruzrojas

macrumors member
Mar 26, 2007
67
0
USA
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
 

Denarius

macrumors 6502a
Feb 5, 2008
690
0
Gironde, France
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. :) ).
 

psingh01

macrumors 68000
Apr 19, 2004
1,586
629
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");
}
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
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
 

MonkeyCookie

macrumors newbie
Apr 18, 2008
28
0
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.
 

Sander

macrumors 6502a
Apr 24, 2008
521
67
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"?
 

lee1210

macrumors 68040
Jan 10, 2005
3,182
3
Dallas, TX
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.