CS50P - Lecture 8 - Object-Oriented Programming

TABLE OF CONTENTS 00:00:00 - Introduction 00:00:24 - Object-Oriented Programming 00:01:00 - Tuples 00:18:39 - Dictionaries 00:26:45 - Classes and Objects 00:39:18 - Instance Methods 00:59:49 - Validating Attributes 01:04:25 - The String Method 01:11:13 - Custom Methods 01:20:43 - Properties, Getters, and Setters 01:42:33 - Types and Classes 01:50:29 - Class Methods 02:21:10 - Inheritance 02:35:29 - Operator Overloading 02:50:03 - Conclusion *** 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. Register for free at Slides and source code at *** HOW TO SUBSCRIBE HOW TO TAKE CS50 edX: Harvard Extension School: Harvard Summer School: OpenCourseWare: HOW TO JOIN CS50 COMMUNITIES Discord: Ed: Facebook Group: Faceboook Page: GitHub: Gitter: Instagram: LinkedIn Group: LinkedIn Page: Reddit: Quora: Slack: Snapchat: Twitter: YouTube: HOW TO FOLLOW DAVID J. MALAN Facebook: GitHub: Instagram: LinkedIn: Quora: Twitter: *** CS50 SHOP *** LICENSE CC BY-NC-SA 4.0 Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International Public License David J. Malan malan@
Back to Top