Minecraft Blogs / Article

So you want to learn to code

  • 2,722 views, 5 today
  • 60
  • 38
  • 99
Supernova666's Avatar Supernova666
Retired Moderator
Level 56 : Grandmaster Pyro
367
I have seen many forum posts with people asking how to learn to code and where they should learn from. I'm here with some advice on how to start to learn.


What to learn?

The thing I often see is people not sure what they want to learn, they just want to learn a language. This is great. If you are motivated you will do great. Hopefully the next few sections will help you to decide if you're unsure, or if you know what you want to learn, give you a kick start.


Making mods

If you want to make mods for Minecraft, there are two routes to take (in my view).
  1. Learn Python, or a little or it, just to give you the basic idea of how things work. I would suggest using Codecademy to learn the barebones of Python, then move onto sites such learnpython.org. Codecademy is a good tool to learn the basics, but it misses a lot of important content. Once you have a good grasp of Python, move onto Java.
  2. You throw yourself in at the deep end and learn Java. Java is the language you will need to make mods for Minecraft. learnjavaonline.org and docs.oracle.com/ are both good websites to learn from. You won't learn everything from a website, you need to practice to become better. This goes for any language though.

Web languages


Web languages are great fun, in my view. Over the past few years I have immersed myself in them, making a bit of money with it too. 

HTML and CSS are the two languages which you will see in every website you go on. HTML stands for Hyper-Text Markup Languages. CSS stands for Cascading Style Sheets. Imagine a house is a website. HTML is what makes the house, the bricks, the roof, the floors etc. CSS is what gives the house and everything inside it, it's style; what it looks like, how big it is and how it appears. I would recommend Codecademy to start off your learning with HTML and CSS, it misses a lot so when you think you are done, move onto other sites such as w3schools for HTML and w3schools for CSS. Another good place to learn about HTML is w3c. I would highly advise the use of Mozilla Develop Network, especially this page

JavaScript is widely used on websites, it allows websites to interact with the browser. There is very little JavaScript cannot do on a webpage, you can use it to control what happens to the content, especially on different events. It's a relatively easy language to learn. Once again Codecademyw3schools and LearnStreet are great places to learn it. 

jQuery is a great language which is responds to events on a webpage, it is useful for making the page come to life and interactive. jQuery is a JavaScrpt library, meaning it uses JavaScript to make stuff work. jQuery.com is probably the best place to learn jQuery, but w3schools has some great examples, but misses quite a lot. Once again, for a quick and easy start into jQuery, I would recommend Codecademy.

PHP is a server scripting language used to make dynamic websites, and to perform functions and tasks. PHP takes information from a database, does its magic and then sends the output to the user. When you clicked onto this page, PHP was used to pull all the content that is shown on this page from the database and put into it's right place. For PHP to work, it must be installed on the server you're using. You cannot write a PHP script and run it locally or on a server without PHP installed. Once again, Codecademy is a good place to start learning, but it misses a lot. w3schools and learn-php.org are good to fill in the gaps.


Programming languages


Programming languages come in many shapes and sizes. From the C, to C++, to C# to Perl, to Python and Ruby and the many, many more languages available for use. 

These langauges, and the ones I have not named, are used to make the applications and software we use every day. I do not know enough about these languages to give suggestions on how to go about learning them. Codecademy and LearnStreet both have places to begin learning Ruby and Python, a good place to start would be there. From what I am told the following links are all good places to start learning PythonJavaCC# and Shell. See the "Making mods" section for more on Java and Python.

If anyone has some spare time and would like to make this a proper section, they are more than welcome to write one and either put it in the comments, or PM me it. I will put it here and give you full credit for your work.



Great places to learn:
All the websites listed here, and throughout the blog are just what I like to use, they are not the only websites around, neither are they the best. Link your favourites in the comments and I will add them to the list.


This is just my advice, it doesn't make it correct or the way to go about things. If you have any views or advice of your own, comment and I will add it into the blog.
CreditLudicrous for proof reading the blog.
Tags

1 Update Logs

Update #1 : by Supernova666 04/01/2015 3:56:51 pmApr 1st, 2015

Updated the JavaScript, jQuery, PHP and user-suggested sections.

Create an account or sign in to comment.

1
07/05/2019 2:58 am
Level 1 : New Miner
ruhhana
ruhhana's Avatar
Yes, I have interesting coding and programming language s like Java, Python, AngularJs, and Ruby
I want to learning Basic skills Like C# AND C++
1
05/15/2017 5:51 pm
Level 47 : Master Blacksmith
bowbuilder
bowbuilder's Avatar
"just leaving a comment to find this back later. No clue how i got here again in the first place"
1
05/22/2015 2:48 pm
Level 5 : Apprentice Crafter
Built_Creati0ns
Built_Creati0ns's Avatar
khan academys not bad, i made this in code: Click Here
1
05/22/2015 6:25 pm
Level 56 : Grandmaster Pyro
Supernova666
Supernova666's Avatar
Hmm that looks interesting, what language is it?
1
05/23/2015 5:51 am
Level 5 : Apprentice Crafter
Built_Creati0ns
Built_Creati0ns's Avatar
its english, in java script
1
04/11/2015 11:38 am
Level 39 : Artisan Fish
CHorse
CHorse's Avatar
I can't say anything bad, since you are a moderator and you will kill me, so I'll say only good things. Wait a sec, that'll mean I can't say anything. Oh well.
1
04/11/2015 11:57 am
Level 56 : Grandmaster Pyro
Supernova666
Supernova666's Avatar
You can say things which oppose my views or opinions, just as long as what you say conforms to the site rules.
1
04/13/2015 5:05 pm
Level 39 : Artisan Fish
CHorse
CHorse's Avatar
I'm still not taking any chances, last time I insulted someone i said
"I don't like it" 
They suspended my download rights for a month and I couldn't comment on his stuff (maybe that was cuz i was on his ignore list)  and it also glitched out so I couldn't comment on anyones.
So, I'm not really gonna take that chance.
1
04/17/2015 12:22 pm
Level 65 : High Grandmaster Programmer
fillpant
fillpant's Avatar
To be honnest i have a similar experience in this webpage D: Board administration never replied to my emails.
1
04/19/2015 9:19 am
Level 39 : Artisan Fish
CHorse
CHorse's Avatar
And I thoguht it was only me...
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome