Загрузка страницы

Programming Paradigms, Assembly, Procedural, Functional & OOP | Ep28

Paradigms are simply a model, for example, a pattern or way of doing something. Programming languages do have paradigms or models, the way in which we write our code. ☕ Support Me With A Kofi: https://ko-fi.com/P5P34J14C​

If we right our code in a different way, we're using a different paradigm. Likewise we could use paradigms to suit different situations, it's just the style in which we write our program's.

For example the assembly paradigm is where we create programs that are line upon line of instructions with no functional group of commands. This style of programming is still around today in modern computers; but is not widely used for large scale applications.

The procedural paradigm or functional programming is another way of writing our program's. You can think of this as a level up from assembly as we're breaking our command's down into sections and then only invoking them when needed. It's more modular than assembly and allows more flexibility in our code. Again this is just another way of writing our program's; or in other words another paradigm.

Finally we have OOP or object oriented programming. This paradigm or style of writing a program is dominated by objects. So for example, if we create a banking application we want to use OOP for the bank account structure as bank accounts are objects which can be owned. So to map this out in a program, we're better off using the OOP model or paradigm as it closely fits with what we're trying to code.

Programming 101 course:
https://www.youtube.com/playlist?list=PLGC-hHIh7l5s6Spz86OT1u0A7kvQH-2B0

This tutorial is brought to you by http://www.avelx.co.uk/ - Coding tutorials to help you grow.

Видео Programming Paradigms, Assembly, Procedural, Functional & OOP | Ep28 канала Programming With Avelx
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
2 декабря 2016 г. 5:14:42
00:08:10
Яндекс.Метрика