Where to start to learn how to code?

Hello everyone,

Does anyone have tips on how to learn how to code(good tutorials to learn fast)? Also is java script or c sharp easier to use?

This is the first beginner’s tutorial series that game up on Google:

Might be a good starting point.

Go with C#.

4 Likes

JavaScript or C#… JavaScript is probably easier out the gate, and as a bonus you can write web page scripts… but unless you have plans to become some kind of web developer it’s not a great benfit. For just a little more time and effort C# is way better down the line.

I recommend learning C/C++ first, then moving to C#. Getting started programming games is easy. Going from beginner to advanced is not so easy. Too many concepts and you’ll be on your own by the time you hit intermediate. At least of you start in C/C++, you’ll understand stuff better and it’ll be easier to figure out where to go next when the tutorial train drops you off the middle of no man’s land. Ask me how I know.

2 Likes

I always recommend “The C# Yellow Book” by Rob Miles. It is a good free introduction to C#. It is used as the text in first year programming course.

The book covers some areas you won’t need with Unity since you’re running the code directly in Unity as opposed to another environment, but understanding how that part of programming works as well is probably a good thing.

The Unity Learn sections are also very useful, especially if you learn better from a video than a PDF.

2 Likes

Awesome site! It even has a little code window so you can try things out without having to download a compiler.

1 Like

https://www.3dbuzz.com/training/topic/unity?resetFilters=True

Great place to find plenty of cool stuff. I learned a good bit of my unity basics there many years ago, and they seem to have added plenty more where that came from, so check em out!

1 Like

Best-est free course on beginning c# out there. IMO

You grab any book about any programming language and start learning through it while doing exercises. Then you continue learning without books making things that are fun for you.

There’s no real way to speed it up as far as I know.

2 Likes

Short of very minor differences they’re about the same level of difficulty. By the way UnityScript isn’t quite JavaScript despite what some people may be indicating. There are subtle differences mostly centered around the way Mono/.NET works.

http://wiki.unity3d.com/index.php?title=UnityScript_versus_JavaScript

2 Likes

Now that ES6 is pretty standard it has even less to do with JavaSript.

1 Like

If you are totally clueless about logic and code doing a couple of visual hour of code lessons can help.

I am a beginner as well.
So, I always use a Online Web Tutorials like http://www.tutorialspoint.com and http://www.w3schools.com , because I think the online web tutorials with all the code references is sometimes much better than learning from the Youtube tutorials. But, be aware that some online web video tutorials like https://www.khanacademy.org that looks so official does not teach real coding that will not work at all in your real life.

Just download a Source Code Editor then save as .js for a javascript file or a .cs file for a c sharp file. Or just use your the default MonoDevelop source code editor from the Unity.