What is programming?
Programming is writing, designing and maintaining the source code of a computer programme. There are 3 different types of programming:
Procedural
Object orientated
Event driven
Procedural
Procedural programming is a term used to describe the way which a computer programmer writes a program. This method of developing software which is also called an application revolves around keeping code as concise as possible. Its operators by reading the tasks that are given in order. Popular software written using procedural programming is Linux. It follows the instructions in a sequence and repeatedly. It’s not always the preferred method of coding applications and software which is highly complex will require literally hundreds or thousands of lines of code making it hard to work with. Examples of computer procedural languages are BASIC, C, FORTRAN and Pascal.
The advantages of procedural programming are that is allows quick completion and is usually faster than object-orientated programming. It’s relatively simple and the ease of its implementation of compliers and interprets. Procedural programming requires only less memory and has the ability to be strongly modular or structured.
The disadvantages are that it tends to be relatively low level compared to some other paradigms, and as a result can be very much less productive. There is more importance given to the operation on data rather than the data and data is exposed to whole programme so there isn’t much security for data. Also procedural programming is difficult to relate to real world objects.
Object-oriented
Object-orientated programming is where programmers not only define the data type of a data structure but also the types of functions that be applied to it. Therefore, the data structure becomes an object which includes both data and functions. Also, programmes can create links between one object and another so that objects can attain characteristics from other objects.