Friday, August 9, 2013

[Info] Basic Introduction: Entrance to Programmation

Hello people. in this post I wanted to head toward those who want to begin in this world of programmation, I'm not trying to impress someone or say that I'm the most experimented programmer you will ever find, but I'm trying to spread the opportunity to the people that get a harsh time trying to understand, so I want to put as simple as I can.

As well as I suppose that if you wanted to reach here to learn, is because you decided to study this topic and at least have made a little bit of research through the web about really basic things and meanings, said this, we can keep going. I will just start with some basic things that you can encounter in this blog and might be asking about what is that, things such like classes, variables, functions and so.

Class: A class, putting it in simple meaning, we can say that is a template of some sort of object, that contains descriptive status, data and functionality of something we want so we can use it later on. This concept is a little complicated to understand in a begin, so don't worry if you don't catch it right now, we will see this a lot.
Variable: variables are a place in a memory where we can store some data (Interger, Float, Boolean, String), an example can be a box, where we store the bills for example, whenever we need a bill to check out something, we can go and check that box for the needed info.  
Contant: Is the same thing about variable, the difference lays in the value, a variable (as it's own name tell us) can change it's value along the script or code, but a constant will never change its value after we declare it.
Function: There are determined processes or calculations that for some reason we keep repeating several times, and it can turn a bit annoying, repeating something again and again, there is were (the super!) functions comes to save us, they are pieces of code that encapsules a bunch of statements that we can call later (by an established name) as many times as we want.
Conditional Structure: A script or more complex, a program, is a complicated task, to keep it clean and easy to manage, it must be structured, but it can't just go through operations and exact calculations, mostly in gaming, you will find in one point or another,  a condition that you have to perform to do some functionality depending on a certain calculation, you can look for the next structures: IF and ELSE.

I think that will cover the basic for now, so you won't be lost in some tutorial when you reach these definitions, you don't have to worry about more complex things right now, as you will "learn on the road" as I always say ;) you will be learning more other things throught another tutorials and hopefully you will find this helpful and simple.

Sycmasters



No comments:

Post a Comment