1
00:00:00,420 --> 00:00:07,440
Hey, welcome to the first video of the second part of the course you have left past the first sport

2
00:00:07,440 --> 00:00:15,000
where you learn the basics of Python and you practice the basics and you learned a lot of the main libraries

3
00:00:15,000 --> 00:00:17,580
to build different applications with Python.

4
00:00:18,000 --> 00:00:25,260
Now, these applications that we built were mainly smaller applications, but from now on we will build

5
00:00:25,260 --> 00:00:34,140
larger applications and this time we will use another programming paradigm called object oriented programming,

6
00:00:34,140 --> 00:00:45,210
or o P for short the programming paradigms we use for where functional programming and procedural programming.

7
00:00:45,990 --> 00:00:53,490
You are using functional programming when you are using functions in your code to process data and return

8
00:00:53,490 --> 00:00:54,850
values and so on.

9
00:00:54,870 --> 00:01:01,680
So for example, here we use functions in our web scraping app, which we built previously.

10
00:01:02,160 --> 00:01:08,190
And then we also use procedural programming, which means you don't use functions at all.

11
00:01:08,190 --> 00:01:10,920
You just use lines after lines.

12
00:01:10,920 --> 00:01:13,620
So we did that with the other apps as well.

13
00:01:14,470 --> 00:01:22,540
So these programs are more linear, which means you get some input and the way to go to the output is

14
00:01:22,540 --> 00:01:23,620
quite linear.

15
00:01:23,620 --> 00:01:27,240
So you process that input and then you produce some output.

16
00:01:27,250 --> 00:01:35,860
But imagine an app where users can book tickets such as hotel tickets or airplane tickets, and then

17
00:01:35,860 --> 00:01:37,450
the user can pay for a ticket.

18
00:01:37,450 --> 00:01:43,710
They can use a credit card, they can do other actions such as cancel a ticket and so on.

19
00:01:43,720 --> 00:01:50,170
So in such an app, there is a lot of interaction between different entities of the program.

20
00:01:50,380 --> 00:01:57,790
So between the ticket, the user, the credit card and so on, for such larger programs, you can still

21
00:01:57,790 --> 00:02:02,800
use functional programming or procedural or programming to build the app.

22
00:02:02,800 --> 00:02:10,210
But those two paradigms are not the most efficient paradigms to build such apps.

23
00:02:10,970 --> 00:02:17,570
The most efficient way that professional programmers use to build larger apps is called object oriented

24
00:02:17,570 --> 00:02:18,440
programming.

25
00:02:18,440 --> 00:02:26,690
O P and object oriented programming uses classes instead of functions to organize the code.

26
00:02:26,870 --> 00:02:34,220
So in the next videos, you will learn how to use classes to write programs so that your programs are

27
00:02:34,220 --> 00:02:38,680
in object oriented programming style or paradigm.

28
00:02:38,720 --> 00:02:41,180
And that is the ultimate way to program.

29
00:02:41,180 --> 00:02:47,870
And that will scale up your python skills and everything else will make so much sense.

30
00:02:48,110 --> 00:02:49,790
So get ready and let's go.

31
00:02:49,820 --> 00:02:50,770
I'll see you in the next video.

