00:00:00 - 00:00:19
Introduction to Programming Paradigms
Programming paradigms are different approaches to writing and
structuring code. Two of the most common are procedural oriented
programming and object oriented programming, each suited to different
types of projects. In procedure oriented programming, you write step by
step instruction to complete task.
00:00:20 - 00:00:48
Procedure Oriented Programming Explained
Imagine building a city. For each building, like a hospital, you would write
out every step, build walls, add windows, install doors. To build a school or
apartment, you would repeat this process from scratch. Pop works well for
small linear projects, but can become repetitive as complexity grows. In
contrast, object oriented programming uses blueprints or templates to
create objects like buildings.
00:00:49 - 00:01:12
Object Oriented Programming Overview
Instead of repeating steps for each building, you would reuse the blueprint
making adjustment for different structures. OOP focuses on designing
objects with their own properties and behaviors, making code more
modular and easier to manage in larger systems. In data science, POP is
useful for simple task like cleaning data or running transformation.
00:01:13 - 00:01:23
Applications in Data Science and Machine Learning
For complex projects like building machine learning models, OOP excels,
enabling reusable code and scalability. Many machine learning libraries
like Tensorflow are built using OOP.