Programming Paradigm
Programming Paradigm
Paradigm
Assembly Programming
• the oldest
• the most sophisticated
• the closest to hardware
• it’s obligatory in Microcontroller or Electrical Sensor Engineering
• sometimes not taught anymore in CS or IT
• very rarely it’s taught in SE or IM
Procedural Programming
• most common programming paradigm
• usually taught for the logic of programming
• for example like: C/C++, Basic, Pascal, etc.
• the display usually text mode or console, so it’s also called as Console
Programming
• usually consist of data with strict data type (strong typing) and code
flow inside main function (and sub-function)
• the main feature or power is function(s)
Object Oriented Programming
• the basic concept behind other coding hype
• a combination of method (function) and data into 1 package
(encapsulation)
• the simplest example is string in C++
• supported languages including: C++, Java, PHP, Python, Javascript,
Microsoft.NET, Object Pascal/Delphi, etc.
Event Driven Programming
• you define what function/method to call when an event/something
happens
Component Programming
• each part of computer system is defined as a component
• basically there are 2 different component types:
• visual component: a component that has a graphical/visual representation
• non-visual component: a component that only resides as structure/data
inside computer’s memory
• introduces concept of property, the exposed “data” from a
component, usually a property is related to a data structure/variable,
but a property can also linked to a function
Visual Programming
• components are packaged into 1 system to become graphical/visual
application with RAD Tool (Rapid Application Development)
• nowadays, there are many sub-branch for Visual Programming:
• Windows Graphical Interface
• Linux Graphical Interface (QT, etc)
• 3D Graphics (OpenGL, Unity, Unreal, etc)
• Web Interface/Web Programming
• Mobile Programming:
• Android
• iOS
• Nokia Symbian (now extinct)