Introduction to classes and objects in Python.
Lecture in Danish.
00:00 Object oriented programming vs functional and imperative programming
03:10 Selected object oriented programming languages
05:23 Design patterns
06:42 Examples of builtin types and methods
13:18 Classes and objects
15:31 Using a user defined class
17:41 Defining a class
24:21 Uninitialized data attributes
25:35 _init_ object initializer mehtod
29:49 _init_ with arguments
32:00 On accessor and mutator methods
36:48 Defining an order on objects _lt_ (operator less than)
39:20 Converting objects to strings _str_
41:15 Convention using _name for "private" variables
44:21 C++ private vs public
47:24 Java private vs public
49:50 Python name mangling
51:55 Class data attributes
54:36 Example: class data attribute next_id
1:00:46 Python attributes _dict__, __name__, __class_
1:03:47 Java class data attributes (static)
1:05:04 C++ class data attributes (static)
1:06:06 Class with constants
1:06:58 PEP8 conventions about classes
On this page of the site you can watch the video online Classes and objects with a duration of hours minute second in good quality, which was uploaded by the user IPSA - Introduction to Programming 09 March 2021, share the link with friends and acquaintances, this video has already been watched 1,132 times on youtube and it was liked by like viewers. Enjoy your viewing!