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
Auf dieser Seite können Sie das Online-Video Classes and objects mit der Dauer stunde minuten sekunde in guter Qualität ansehen, das der Benutzer IPSA - Introduction to Programming 09 März 2021 hochgeladen hat, den Link mit Freunden und Bekannten teilen, dieses Video wurde auf Youtube bereits 1,132 Mal angesehen und es wurde von like den Zuschauern gefallen. Viel Spaß beim Betrachtenden Zuschauern gefallen!