I know there are other people have asked this question but i just want to know for sure if i should learn c# or javascript (or unityscript) because i heard that unity script is easier to get into while c# is not but i worked with both languages for about a month now and unityscript is easier but in c# if i have an error it is easier to spot and i want to know from people who worked with both languages and tell me which is better.And i also heard that if i get a book about javascript it wont be the same in unity. (oh and i heard that unity script doesn’t have as many tutorials but c# does since its from microsoft and that its derived from c++)
C# is definitely better for several reasons, but it’s a bit more difficult to understand, because of how many options it gives you. for most projects you do yourself, you could use javascript and it would be great.
as i understand it, c# compiles faster.
also, C# forces you to program in better ways - making sure you type all of your variables, for example… but it helps to have a friend who’s a good programmer to find out why all of that stuff is “better” and what it all means…
I don’t have any friends who use C#, but Stack Overflow generally fills that role nicely.
I started with UnityScript, and used it for a couple years or so. I don’t recommend it. C# is more powerful and easier to further your learning with, because of more clear resources. Learning C# has also helped me understand JavaScript better – I don’t use JS myself anymore, but I help people who are using it, sometimes.
I just made the switch one day and never looked back. After a year and a half or so with C#, I consider C# better in every respect, even ease of use. It’s hardly any different than JavaScript, in my opinion; it just offers a lot more helpful tools, and frequently, they’re more concise/easier to read/maintain that what you can do with JS. Yes, there are a lot of “options”, but you don’t need to make use of all of them, by any means. (I think you’d be rather hard-pressed to attempt that.)
The topic is subjective of course, so this is just my personal opinion, but I’d recommend C# over UnityScript. (Some of the reasons for this have already been touched on in the thread, so I won’t repeat them here.)
just the fact that intellisense in visual studio works with c# should make you want to use it.
I’ve heard this before, and it sounds great. I haven’t used Windows at home for eight years, though, and I don’t like MonoDevelop, so I’m just using the Unitron text editor; this doesn’t change my opinion about the superiority of C#.
monodevelop can be good to because you can run unity in debug mode and actually use break points on your code which you cant do it visual studio. I barely ever use it though
The other benefit of Visual Studio beyond intellisense is all the free extensions for it that significantly boost productivity and maintain my sanity. Nothing is stopping you from having MonoDevelop installed side-by-side to do debugging on those odd occassions.
The other benefit is it gives you an introduction to using C# in general and you can easily extend that knowledge into developing anything on the .NET platform. You could become proficient in Unity C# and take some of that experience to Silverlight or ASP.NET.
Ok thanks alot to the people who took the time to tell me this and I’ll go with c#. But can anyone recommend any website for newbies?