Which code language should I use.

I am wondering if i should start using c++ or java script. I am making a new project and want to stick with one language and learn it well. I have done some coding before but mostly with a different language. I have used Java script more than C++ but haven’t used either one a whole lot. I hear java script is easier to learn but i also heard that C++ is more of an industry standard and I wanna be one day up on that professional level. Which one should i choose?

Unity uses C# - not C++. If you search the forums, there are MANY threads comparing the languages and discussing reasons for choosing one over the other.

Quick version.

JavaScript: Less strict syntax because it’s not strictly typed. Used a lot in web programming if you ever plan on doing that. Probably easier to learn for a brand new programmer because of the looser syntax.

C#: More structured code which makes it better, imo, for large complicated projects. C# has gained a lot of popularity because it’s one of the best Object Oriented Languages out there, so there’s lots of available non-game work using C# as well as JavaScript.

If you know understand Object Oriented programming, then I would go with C#. Both are great languages that are heavily used outside of Unity.

Unfortunately while that’s what the name suggests it’s not actually the case. What Unity calls JavaScript is a different language to what the rest of the world calls JavaScript and is unique to Unity.