C# vs. JavaScript | Unity 5 Comparison




A short video where I talk and compare C# to JavaScript a little bit by using my experience and some facts as sources.

I hope you guys enjoy the video! 🙂 Make sure to let me know what else you’d like to see. Tomorrow, I’ll upload a new video of Unity 5.6’s post processing stacks since lots of people wanted a video of that.

Make sure to leave a LIKE if you enjoyed! Let’s shoot for 60 LIKES on this video.

• My Website: http://www.sykoos.com
• Twitter: http://www.twitter.com/sykoosam

Partnered by Curse, UnionForGamers.
Owner of Mesver, http://www.mesver.com

Original source


36 responses to “C# vs. JavaScript | Unity 5 Comparison”

  1. I used to do web development and I used JavaScript for that, so when I started using Unity I kept using JavaScript. But now since a few months I do use CSharp and I can say that it is a lot cleaner and more structural than JavaScript (atleast for use in Unity).

    Great video!

  2. any derivate of c is not good programming language to start. Start with javascript, python or something like that to get what programming even means! Then move as fast as possible to c.

  3. when i used it at beginning i found javaScript had shorter number of code line for doing the same things witch take u more line in c#…But i was'nt able to debug it becuse it so compress that i don't really understand what's going on behind the code.

    c# in comparaison take more lines but i debug it it easily cause it's more structural.
    i will use Java when i master it better cause i d'ont like spend hour in coding.

  4. Hey, JS is great and not only for the beginners! I've tried moving to c#, a few times in fact, but js is simply more comfortable language to work with. Unlike C# which to me looks unnecessary complicated and sometimes even broken/doesn't make any sense. Especially when it comes to unity.
    Kinda sucks being in the minority group, but oh well, stick to what you know better.

  5. To be honest, JavaScript is a good way to start. I started with JavaScript too and it was enough (for the start). After a while you will slowly start to move to C#, no matter what you do.

    And now i don't even know how to Code in JavaScript anymore, because C# has taken most of the space… :/

  6. I'd say don't even bother with javascript unless you're gonna waste your skill and time on worthless phone games it's best to go to Gamesalad, Codeacademy or just other suggested tutorial sites and learn C# for future projects that are actually good or even great like Ori And The Blind Forest or a big 3d platformer game like Yooka Laylee

  7. I started with Unity Script and then went to C# because unity was supporting JS less and less.
    And GOD! Don't mix the two in a project.
    But to me programming is about learning how to dissect problems and come up with the solutions.

  8. I love JS to create web apps but it makes no sense to use it with a compiler – if unity was using only C# language people would have many more tutorials ready for understand this language

  9. I was a massive Javascript programmer, in web industry both for front-end and in Node.js. For me javascript is like a girl you can date whenever you want and you can get what ever you want, literally. But in turn, you will pay way more time to figure out why she is that "friendly", otherwise the consequences, just like those easy dating girls, are gonna ruin your life. However C# will be the girls who finished her PhD and ready to date you or even get married, but need relative a lot of time to catch up with her knowledge. So I would say they make a draw considering learning curve steepness. But the reason why I would in fact choose C# over Javascript in unity, is simply because C# got a better community support. The easy-going advantage of Javascript is always attracting for newbies, and if Javascript(UnityScript) can one day has its glory as well as C# has now, I would consider roll back to it.

  10. Eeeh… What a weird way of explaining it. I started in ActionScript 2, went on to JavaScript, PHP (CSS & HTML) and then C# in Unity. When I was proficient at AS2, learning JS and C# was a breeze, the only difficulty with Unity was getting my head around some of the naming conventions (methods, etc) Unity uses, and some C# specific things, like how verbose it can be.

    I think a better way of explaining it is: don't call yourself a programmer if you follow tutorials and retype them. To really learn programming, everytime you learn a new concept, TRY IT OUT outside of the scope of tutorial. If some tutorial shows you what arrays are and how to iterate through them with a for loop, you should create your own script that just logs some things for you to check. Try to find a certain variable within an array by iterating through it, find a way to change the array's length within the for loop (using array.Length) without getting an error, those types of things. Then you really understand what everything's doing.

    But you can be a programmer, and a very good one, by just knowing one language. That's the beauty of OO programming, once you get the concept in one languange, other languages just become syntax and looking through the docs.

Leave a Reply