1. Home
  2. Articles
  3. Contact
Logo

a blog about my learning progress

Things to know about programming languages

Programming languages and what you have to pay attention to

One very important thing to know before programming is computers are very picky. One typo and your program won't run.

The computer even differs between upper and lowercase letters. They are not the same!

So if your program won't work the way it should check first for misspelling.

Syntax
Syntax

Def.: The structure of statements or elements in a computer language.

Syntax is the vocabluary, punktuation and gramma of a programming language.

It contains keywords which are the language vocabulary.

For example var, function, if, etc. They all have special meanings.

Values
Values

Def.: A value is a particular number or quantity that can replace a symbol such as 'x' or 'y' in a mathematical expression.

Values are the data in your program. They can be numbers like 255 or 19.5 (called int (whole numbers) or float (decimal)).

They can be letters like 'score' or "item" (called string).

Or they can be statments like true or false (boolean).

Variables
Variables

Def.: Something that is variable changes quite often, and there usually seems to be no fixed pattern to these changes.

Variables hold values. Imagin them like boxes where you can put something in, take it out again or replace it with a new value.

Control Structure
Control Structure

Def.:

Commands
Commands (Functions)

Def.: