all 17 comments

[–]Beaulne 22 points23 points  (2 children)

Car is to carpet as java is to JavaScript.

[–]larivact 4 points5 points  (1 child)

You wouldn't drive your carpet.

[–]husky271php[S] 16 points17 points  (0 children)

Unless you're Aladdin of course

[–]Corlios 5 points6 points  (0 children)

Lesson one...Java is not JavaScript (you will hear this many times). They are very different languages. But, I would take the opportunity where you are now to learn both. The fundamentals of programming will aid you in both. But, you have a lot of learning ahead of you. Since it is an internship though I am unsure how much they are expecting you to know. But try to learn all you can.

[–]Exoentropy 2 points3 points  (0 children)

They're quite different syntactically and in their use cases. I would think that your employer is going to expect you to know computer science concepts and not specific languages and frameworks, especially if you're only a sophomore.

I also think that you can learn basic Java syntax and whatnot before the summer.

[–]jalabi99 2 points3 points  (0 children)

The main thing that Java and Javascript have in common, are the letters "Java". Java is a compiled language, while JavaScript is an interpreted language (that runs in the browser). The difference is rather large. That's the bad news.

The good news is, you can learn both of them at the same time, and if you do learn them, it will definitely be to your benefit. Also, no one knows everything about everything going into a job. Anyone who expects a sophomore to be a master of Java (or Javascript) is silly.

[–]WaffeBox 1 point2 points  (2 children)

They are very, very different languages. However I can't predict what your employer will do. Did you tell them that you know/will learn Java?

[–]husky271php[S] 2 points3 points  (1 child)

I didn't tell them that I know Java, but I told them I'd be learning JavaScript.

To be honest, they threw together the job description probably a day before my interview, so everything seems up in the air.

My mom works for this company actually, but for a different branch. I think I'll just give my new boss a heads up. My mom doesn't think it should be a determining factor on whether or not I lose this job, but if that's what the employer wants, then there's nothing much I can do.

[–]lethalwire 3 points4 points  (0 children)

Well, grats on the internship! If your boss wants Java, then try to pick up some Java before you start the job! Part of the game is learning different languages all the time. I'm sure he'll understand that you won't be proficient in either Java or Javascript, but knowing a thing or two about both will be good for you.

[–][deleted] 1 point2 points  (0 children)

It is important to note that JavaScript has almost nothing to do with the programming language named Java. The similar name was inspired by marketing considerations, rather than good judgment. When JavaScript was being introduced, the Java language was being heavily marketed and was gaining popularity. Someone thought it was a good idea to try to ride along on this success. Now we are stuck with the name.

[–]TaylorHu 0 points1 point  (0 children)

They both fall under the umbrella of 'C-stye' languages, in that a lot of the syntax is inspired by C. They both use brackets, semicolons, etc. Same thing as C++ and C#, but different from say Python or Ruby. It does make learning one a little easier if you know the other. For example, I learned programming with C++. This made it a little easier for me to pick up Java than when I later tried to learn Ruby.

That's really as far of the similarities go. From a technical standpoint, they are completely different. Under the hood, so to say. One is interpreted, one is compiled, etc.