- Home /
Programming Language
Hello!
Ok, I think i will start with Javascript. I haven't found much tutorials for it, so if someone can post a few, i will be happy :) And also, where should i try out the codes? In Unity, or in some other program?
Old: I'm starting to learn Unity, but i don't know witch programing language should i choose. I have very minimal background in programing (Pascal).
Your new question seems not really related to the answers you have already received. So it would probably make more sense to create a new question ins$$anonymous$$d of editing the old question.
Answer by Cyclops · May 18, 2010 at 12:51 PM
There's also a similar Question, How should I decide between C#/JS/Boo?
Answer by Mattivc · May 18, 2010 at 12:43 PM
My advice as a recent beginner in programming myself, would be to start with JavaScript. And move on to C# when you start to get the hang of it.
Answer by Ray-Pendergraph · May 18, 2010 at 12:29 PM
I remember seeing a very good, long post on this here. My 2 cents is that C# is better for larger efforts where there are more people contributing. The Javascript that runs on Mono is not my favorite creature... you will be surprised (and not pleasantly) if you have a web programming background using Javascript and try to use it in Mono. It's more quick and dirty to me. Again, just my 2 cents.
Answer by Ashkan_gc · May 18, 2010 at 07:15 PM
there is a long discusion in forums. it's link is in another answer here. pascal is a typed language and C# is too. so you can use it if you know pascal but if minimal means you don't remember anything then js is easier. hey later or sooner for bigger projects C# is a better option. it's my idea but many of the great games made in unity use javascript as their language of choice. js is easier but C# is more powerful. when i talk about power i mean more structures to use and things like interfaces but begginers don't use these features much even if they learn them so start with js and once you found yourself a programmer in an intermmediate level go and learn C#. there are good books for C# but for ECMA script or java script there are not many books. be careful web's javascript has differences with unity's. the syntax is the same but there are commands (classes and methods) in web's js that they are not available in unity and vice versa. you can email me for more discussion.
Answer by Eric5h5 · May 18, 2010 at 07:23 PM
I prefer Unity's Javascript for most general things; it's written more specifically for Unity and makes some things more streamlined, whereas C# is just C#, which IMO gets to be a drag when dealing with long Unity programming sessions. However Unityscript is lacking some features, which makes it not feasible to use for everything in more advanced projects. Mixing the two is fine as long as you keep compilation order in mind. Also the Unity Javascript author seems to have been hired on by UT a while ago, according to a blog post, which suggests there will be improvements in future versions. As far as "web" Javascript goes, you're better off ignoring that, since in Unity it's a lot more like JScript (see MSDN docs on that).
Your answer
Follow this Question
Related Questions
JavaScript Or C# For 3d IPhone Game 2 Answers
Can I declare properties in JS? 1 Answer
C# and Unity Tutorial 1 Answer
Where can you find a in depth tutorial for learning UnityScript? 3 Answers
How do you write scripts??? 4 Answers