0:00
Let's explore the most important and
0:02
relevant ones. One. Imperative programming
0:07
is based on giving step-by-
0:10
Second, structured programming.
0:13
Organize the code into clear blocks.
0:16
Three, object-oriented programming.
0:19
It allows us to think about entities that
0:21
interact with each other. Fourth
0:23
functional programming. It uses
0:26
pure functions and mathematical concepts.
0:29
Fifth, logic programming is based on
0:32
reasoning with rules and facts.
0:43
Welcome to this new series on the
0:45
channel. In the next videos we're going to
0:48
talk about something that's at the heart of
0:52
programming paradigms. You might be wondering, what
0:56
is a paradigm? A paradigm is nothing more
0:59
than a way of thinking, an approach or
1:01
style for solving a problem with
1:03
code. And mind you, this isn't something exclusive
1:07
to programming. In daily life we
1:10
also use different paradigms without realizing it
1:12
. For example, if you cook
1:16
following a recipe step by step, you are
1:19
using an imperative approach.
1:22
If you organize your wardrobe by sections,
1:25
shirts on one side, pants on the
1:27
other, you are applying a
1:32
If you think about concrete objects like your
1:35
cell phone with its applications and
1:36
functions, that's very similar to
1:39
object-oriented programming. If
1:42
you apply logical rules like if it's raining,
1:46
then I'll take an umbrella, you're using a
1:49
logical approach. Paradigms are
1:52
mental maps that help us organize how
1:58
Why do paradigms matter? Because there isn't just one
2:04
same problem can be solved in
2:06
many ways depending on the paradigm you
2:09
choose. Imagine you want to get
2:12
from your house to the office. You can go
2:14
step by step. Imperative.
2:18
You can divide the journey into
2:20
clear sections. First the main street,
2:22
then the park, then the
2:25
structured bridge. Or you can rely on your GPS; you
2:29
simply tell it the destination and it
2:31
calculates the route. Declarative. They all
2:34
arrive at the same place, but each approach
2:37
has its own style and advantages. What
2:40
paradigms will we see in this series? In
2:42
this series we will explore the most
2:45
important and relevant ones. One,
2:48
imperative programming is based on giving
2:51
step-by-step instructions.
2:54
Second, structured programming.
2:56
Organize the code into clear blocks.
2:59
Three, object-oriented programming.
3:02
It allows us to think about entities that
3:04
interact with each other. Fourth
3:07
functional programming. It uses
3:09
pure functions and mathematical concepts.
3:12
Fifth, logic programming is based on
3:15
reasoning with rules and facts.
3:19
Six, declarative programming. It
3:22
focuses on the what rather than the how.
3:25
Seven. Concurrent and
3:27
reactive programming allows you to handle multiple
3:30
processes at the same time and react to
3:32
events. We will see each one with
3:35
easy-to-understand everyday examples
3:38
and also with real-world applications
3:40
of programming. What will you gain
3:43
from this series? My goal is that by the
3:46
end of this series you will not only understand
3:49
what each paradigm is, but also
3:52
know when and why to use them.
3:55
And most interestingly, that you recognize
3:58
how these paradigms also apply
4:01
to your daily life, to the way
4:03
you think about and organize your problems.
4:06
Because programming isn't just about writing
4:08
code, it's about learning to think in
4:10
different ways. And the more
4:13
paradigms you know, the more tools
4:15
you will have to find
4:17
creative solutions. So I invite you to
4:20
join me on this journey, a journey
4:23
where programming connects with
4:25
life and where you will learn to see
4:28
problems from multiple perspectives.
4:31
Subscribe, turn on notifications, and let me know
4:34
in the comments which example I
4:39
identified with the most. Do you prefer
4:41
following a recipe step by step, or
4:44
would you rather have someone else take care of the
4:46
details while you just say what you
4:50
See you in the next video where we'll
4:53
start with the first paradigm,
4:56
imperative programming. Ah.