Classes and objects

Pubblicato il: 09 marzo 2021
sul canale di: IPSA - Introduction to Programming
1,132
like

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


In questa pagina del sito puoi guardare il video online Classes and objects della durata di ore minuti seconda in buona qualità , che l'utente ha caricato IPSA - Introduction to Programming 09 marzo 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 1,132 volte e gli è piaciuto like spettatori. Buona visione!