Via NASA Johnson
In 1995, NASA astronomer Bob Williams wanted to point the Hubble telescope at the darkest part of the sky for 100 hours. Critics said it was a waste of valuable time, and he’d have to resign if it came up blank. Instead it revealed over 3,000 galaxies, in an area 1/30th as wide as a full moon.
I want to make games so which code should i learn?
 I’m unsure if you already have an engine picked out because you asked which language to use and different engines may use different languages so here we go.
 I personally would say you may want to download the Unity engine. Unity is a tool developers use to basically build the world, add items, characters, etc. There are, of course, other engines out there but Unity is one that most people tend to use. Then there’s also Cryengine and Unreal Engine although, these are more advanced and have a wider learning curve. Unity is free to use (there are also features that only paid users are allowed.) and most colleges will instruct their students to use Unity for their learning. If you scroll down far enough, you’ll see the games I made while learning. Although I never finished them, Unity has more than enough power to make good games while learning. Unity supports 3D and 2D game development and I don’t believe Unreal or Cry engine do. (Not positive on that so correct me if I’m wrong everyone..) There are a lot of lower-level engines out there as well such as Love Engine (I hope I’m spelling all of these correctly…).  I’m assuming you want to make the entire game on your own, right? If not then you’ll need a team of friends. If You do plan to develop alone, you’ll need a programming language that the engine supports. I know Unity supports C# and JavaScript. Most would tell you to learn JavaScript first because it’s easier to grasp and I do believe that to be true. Trust me, go JavaScript. I’m unsure of what languages you should study for the other engines but I assume most of them use JavaScript or C#. I’d check for yourself on that.
 I really hope this helps you or someone out there to get started.
 Good luck!
“Everything, even something as mundane as getting out of the car can be fun if you find a right game.” - James Veitch