Minecraft Blogs / Tutorial

Intro to Programming 101

  • 316 views, 1 today
  • 5
  • 0
  • 3
ALPUN's Avatar ALPUN
Level 21 : Expert Modder
5
Programming 101

By Zach Ripka @zachrip_


Here I will be outlining some basic ways to get started programming. I might include a few basic javascript or Java tutorials here and there to give examples.

Here are a few pointers for getting started:
  1. It does get complicated, don't give up completely on programming, start with something easy.
  2. If you do give up on a project, I wouldn't doubt that you'd come back to the project, with new knowledge, I do it all the time.
  3. Don't look like an idiot, don't copy/paste all of your code and label it as a new product, it's distasteful.
  4. If you need help, do some research for yourself first (actually read the content) and then ask questions.
  5. Learn more than one language, languages are part of a toolbelt, and sometimes the language you spent all your time learning isn't the right thing to use for a project.
  6. Don't just read documentation, actually try out code, interact with it and edit it.



So, it's your first day coding, what do you do? Where do you look? How do you start?!

Take a deep breath, it's gonna go smoothly. First you need to choose your project. Are you gonna make a music player? An image editor/filter? Or maybe even a Minecraft mod? Well once you've figured this out you need to decide what language you're going to write your project in. Do some research, believe it or not, some languages apply better in some situations than others. Over time you'll keep learning new languages, it'll become a tool belt of sorts, choosing the best best tool for the job.

Alright you've got you project, and your language. Now it's time to setup your workspace. To better explain this I'm going to show my workspace. First you need to get an IDE, it's a program to edit, compile, and deploy code. IDE's come in all shapes, sizes, colors, and functions. Personally for javascript and other web development I use Komodo Edit, it's got plenty of other supported languages, too.

So to begin setup, you need to designate an area on your computer where you're going to be working on your project, I suggest people on windows to go somewhere like C:UsersYOUR USER and create a workspace folder there. You'll then create a folder within the workspace folder with the project name, like this:
akugpng
Alright, you then open your IDE of choice, create your new files for your project, and then begin coding your project.

I guess I can't really expand on this anymore, I'm starting on some Javascript tutorials.
Tags

Create an account or sign in to comment.

rocky1921
06/17/2013 2:01 am
Level 19 : Journeyman Architect
rocky1921's Avatar
Can't wait for tomorrow :3
1
ALPUN
06/17/2013 2:13 am
Level 21 : Expert Modder
ALPUN's Avatar
Thanks, I'll be honest, this tutorial isn't as good as I'd like it to be as of now. I'll improve it tomorrow, or maybe tonight if I wake up a bit :P I'll also be opening up some javascript tutorials on here tomorrow.
1
rocky1921
06/17/2013 10:13 am
Level 19 : Journeyman Architect
rocky1921's Avatar
Sweet, sounds like a plan :-)
1
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome