Skip to content
0:00 / 0:00

#python#object-orientedprogramming#classes

CS50P - Lecture 8 - Object-Oriented Programming

CS50

2.5M subscribers • 35 videos on Hallway • University channel

YouTube
  • One of the most-watched uploads on CS50, a conference or university channel Hallway lists. Nobody has recommended it in the communities yet, so it ranks below community picks.
  • Presented by David J. Malan

Intermediate. Assumes working knowledge.

920K views4 years ago

Programming languagesSoftware designPythonObject-oriented design

David J. Malan teaches object-oriented programming in Python, including classes, objects, methods, properties, and inheritance.

This is CS50P, CS50's Introduction to Programming with Python. Enroll for free at cs50.edx.org/python. Slides, source code, and more at cs50.harvard.edu/python. Playlist at youtube.com/playlist?list=PLhQjrBD2T3817j24-GogXmWqO5Q5vYy0V. TABLE OF CONTENTS - Introduction - Object-Oriented Programming - Tuples - Dictionaries - Classes and Objects - Instance Methods - Validating Attributes - The String Method - Custom Methods - Properties, Getters and Setters - Types and Classes - Class Methods - Inheritance - Operator Overloading An introduction to programming using a language called Python. Learn how to read and write code as well as how to test and "debug" it. Designed for students with or without prior programming experience who'd like to learn Python specifically. Learn about functions, arguments, and return values (oh my!); variables and types; conditionals and Boolean expressions; and loops. Learn how to handle exceptions, find and fix bugs, and write unit tests; use third-party libraries; validate and extract data with regular expressions; model real-world entities with classes, objects, methods, and properties; and read and write files. Hands-on opportunities for lots of practice. Exercises inspired by real-world programming problems. No software required except for a web browser, or you can write code on your own PC or Mac. Whereas CS50x itself focuses on computer science more generally as well as programming with C, Python, SQL, and JavaScript, this course, aka CS50P, is entirely focused on programming with Python. You can take CS50P before CS50x, during CS50x, or after CS50x. But for an introduction to computer science itself, you should still take CS50x! *** HOW TO SUBSCRIBE youtube.com/subscription_center?add_user=cs50tv HOW TO TAKE CS50 edX: cs50.edx.org/ Harvard Extension School: cs50.harvard.edu/extension Harvard Summer School: cs50.harvard.edu/summer OpenCourseWare: cs50.harvard.edu/x HOW TO JOIN CS50 COMMUNITIES Discord: discord.gg/cs50 Ed: cs50.harvard.edu/x/ed Facebook Group: facebook.com/groups/cs50/ Faceboook Page: facebook.com/cs50/ GitHub: github.com/cs50 Gitter: gitter.im/cs50/x Instagram: instagram.com/cs50 LinkedIn Group: linkedin.com/groups/7437240/ LinkedIn Page: linkedin.com/school/cs50/ Medium: cs50.medium.com/ Quora: quora.com/topic/CS50 Reddit: reddit.com/r/cs50/ Slack: cs50.edx.org/slack Snapchat: snapchat.com/add/cs50 SoundCloud: soundcloud.com/cs50 Stack Exchange: cs50.stackexchange.com/ TikTok: tiktok.com/@cs50 Twitter: twitter.com/cs50 YouTube: youtube.com/cs50 HOW TO FOLLOW DAVID J. MALAN Facebook: facebook.com/

Why it's here

A top upload from a listed channel

CS50 is on Hallway's list of conference and university channels, and this upload is one of its most-watched talks or lectures. Nobody has recommended it in the communities yet, so it ranks below community picks.