Hi guys. If you want to know how to program using a computer, here is a tutorial for you.
We try to show how to program using the Python programming language. Python is not a snake! It's just a wired name of “language” that gives instructions to computer. This will also help you to jump to many other languages (such as Java, Groovy, BeanShell, Ruby,..), but we will come back to this later. We can shows how to run a code, i.e. a text that can be understood by a computer. You code will slave the computer and makes it to do anything you like!
So why do you need these programs? Java is a “Virtual Machine”. It is like a robot that sits inside a computer, reads your program code and gives instructions to computer what to do. It runs or “executes” your code by the computer. Java can be inside any computer (or it can be “installed” inside any computer). It does not matter what exactly computer you have: Mac (whitish expensive boxes with apple the bite taken), Windows computer (have different colors, but with squares “windows”) or anything else. So, Java executes your program code without worrying that different computers do not understand your program. Java also helps you to write the code - it may correct your program before giving it to the computer to “execute”. Or even it can protects the computer from a code that can harm the computer. Java thinks about your code before giving it to a computer.
Java is often pictured as a penguin. He sits inside a computer, reads the code you have written, and then does the job - executes it. But before he drinks a coffee (kids, do not try coffee before 12!). Some people think that Java is slow because of this. Not true - Java is thoughtful first, and then it is super fast!
After Java is installed, it starts to talk to your computer. It waits for your program to execute. Then install DataMelt program to help to write simple codes that are executed by Java. DataMelt is a collection of program codes written by others that can give you a hand. When you write programs, you can reuse the code of other people. Such code is put into “libraries” inside DataMelt. When you write your code, you call others people code from the “library”, without reinventing existing programs. Libraries can be huge! In fact, Java also has many libraries inside and DataMelt uses them.
You will need to learn how to find needed pieces of code that can be inserted inside your program. You will learn about this here.
So, let us start a first lesson. Jump to Lesson 1.
If you a college student, you can skip lessons 1-50.