Programming Primers

Poised Solutions uses a lot of different programming languages in the software mix, depending upon the project.

Each programming language works from a few base concepts. Whilst the nuances of each language vary dramatically these core concepts can be found time and again in virtually every programming language. Understanding these concepts enables about 80% of all programming to be achieved. If the truth be known you could achieve 100% of all programming knowing these basics, but the code would not classify as elegant.

Listed below are links to various programming language primers (if one is not linked then I will be getting to it soon):

Primers are there to quickly familiarize oneself with a language, and aid in the quick change between languages. They are not fully comprehensive details of any language, the scope of that is large and best dealt with by full documentation, but they do pay homage to the logical concepts in all programming languages.

Input -> Process -> Output

The input, process, output model of computing is the basic form of any computer system. Input can come in the form of a computer program either hard coded or assigned dynamically during operation.

The act of getting information and then subsequently displaying is processing, though we would normally expect processing to transform data, it is not required.

Input

Input concerns declaration or assignment. Normally the = (equals) or := (becomes equal to) notation is used.

Process

Processing forms the guts of most programming languages, if often involves block elements, conditionals, looping, and functions, methods and object (name spacing).

Output

Output is mainly concerned with writing data to a stream or file. Output to the screen is normally the first line of output, output to a stream though could be any device, and outputing to a file could also be any device if the operating system maps devices to files. Print, echo and write are common methods or functions to output data.

Block Elements

Block elements define the scope of a logical construction they are used to delimit what is under inspection. Generally brackets are used to define this, though correct use of white space in some languages is another way.

Conditionals

These are boolean (logical truth comparison) constructs. if else is a common construct with a block element being used to define what is done if the condition is true and what is to be done else it is not.

Looping

Looping is the ability to iterate tasks, to repeat them over and over, for predefined iterations.

for, while, do are common commands for this, though there exists recursion and other constructs.

Functions, Methods and Classes

In essence these are all about name spaces and scope, they exist to allow code to be broken into chunks and more easily referenced.

Further References


Poised Solutions is a UK, Thames Valley based IT Consultancy. If you wish to discuss hiring Poised Solutions for IT Projects, please get in contact.