Ep 17. Classes and Object-Oriented Programming

  • TV-PG
  • November 1, 2016
  • 34 min

How to Program: Computer Science Concepts and Python Exercises season 1 episode 17, titled "Classes and Object-Oriented Programming," explores one of the most important concepts in programming: object-oriented programming and the use of classes. In this episode, the hosts take the viewers through a comprehensive lesson on creating and using classes in Python. Starting with the basics of object-oriented programming, the hosts explain what classes are and how they can be used to organize code into different objects. They then delve deeper into how classes can be used to represent real-world objects and how these objects can interact with each other.

As the episode progresses, the hosts demonstrate how to create a basic class in Python, followed by more complex examples using inheritance, encapsulation, and polymorphism. The viewers learn how to use constructors, methods, attributes, and other features of classes to create more powerful and flexible code. The hosts also discuss how to handle errors and exceptions in classes, as well as how to use them in conjunction with other Python features, such as lists and dictionaries.

Throughout the episode, the hosts provide numerous examples and exercises for the viewers to follow along with. One of the most fascinating parts of the episode is the practical demonstration of how classes can be used to create graphical user interfaces (GUIs) and how to create interactive programs that respond to user input. The hosts also demonstrate how to use classes to represent data structures, such as linked lists and trees, in a way that simplifies programming and makes it easier to read and understand.

The episode concludes with a brief discussion on how to use classes in larger projects, and how to design and organize code using object-oriented principles. The hosts offer valuable tips and insights on how to use classes effectively, how to test and debug code, and how to optimize program performance. Overall, "Classes and Object-Oriented Programming" is a must-watch for anyone interested in learning how to create robust and flexible code using object-oriented programming with Python.

Description
Watch How to Program: Computer Science Concepts and Python Exercises - Classes and Object-Oriented Programming (s1 e17) Online - Watch online anytime: Buy, Rent
How to Program: Computer Science Concepts and Python Exercises, Season 1 Episode 17, is available to watch and stream on The Great Courses Signature Collection. You can also buy, rent How to Program: Computer Science Concepts and Python Exercises on demand at Amazon Prime, Amazon, Hoopla online.
  • First Aired
    November 1, 2016
  • Content Rating
    TV-PG
  • Runtime
    34 min
  • Language
    English