Java or Javascript

Hello everyone!! I am starting my Computer Science :pray:bachelor this October and I would be grateful If you could offer me your advice about the following matter. I have started studying html and css, with having as a goal the Full Stack Web Development path however my college in the beginning offers some introductory courses in Java. You think that It would be better to start learning Java in order to prepare myself accordingly and proceed to Js afterwards or should I jump directly on the FCC curriculum, build a good foundation and start Java on October.
Your feedback will be invaluable!!!

If you are doing a full bachelor’s degree, then what language you start with isn’t critical. If you are excited to start now and have some time, then I’d go ahead and look at the FCC lessons.

Happy coding!

As a side note, although they sound similar, Java and JavaScript have very little to do with each other.

1 Like

I would suggest continuing on the freeCodeCamp curriculum for now. A lot of what you learn with JavaScript will be foundational to any language, so you’ll have a good start on the basics of how to use variables, functions, and algorithms. That will give you a head start, no matter what language you learn first in school. Java and JavaScript have some very significant differences. Java is class based where JS is prototypical. Java is strongly typed where JS is loosely typed. They are, however, both “C Family” languages so some of your comfort with the syntax of JS will make Java (and other languages) come more easily.

Whether you take web programming courses in school or not, JavaScript is a very good tool to have in your belt, especially if you are interested in frontend development. A good CS degree isn’t about teaching you specific languages. It’s pretty common to jump between languages from class to class or even take courses that have you working in several languages in a single semester. It’s also pretty common to get internships and job offers in languages you have little to no experience in (this is one of the benefits of entering the workforce from a university). Having comfort in more languages and technology sets is a good place to be.