Загрузка страницы

#PyConEstonia 2020: 'Object Oriented Programming from scratch (four times)' by Raymond Hettinger

PyCon Estonia 2020 was the biggest virtual conference in the nordics aimed at promoting the use of Python language.

In this talk, keynote speaker Raymond develops object oriented programming from scratch in several different ways. Each way should give a fresh insight into what we do and why we do it.

Talk abstract: Object Oriented Programming from Scratch (four times)

Python is a fully object oriented language. Everyone who learns the language uses it every day. We grow accustomed to it but often have difficulty explaining what it is, how it works, what problems it solves, when it is your friend, and when it is your enemy.

In this talk, we'll develop object oriented programming from scratch in several different ways. Each way should give a fresh insight into what we do and why we do it.

For the first pass, we will build a small system using short manual scripts, improving it first with functions that communicate by global variables, and evolve that to passing in namespaces. Object oriented programming will emerge naturally.

For the second pass, we'll start with the software crisis of 1980's, looking at the root problems, and then see how a solution emerged.

For the third pass, we'll use collections.ChainMap() to effortlessly explain the mechanics of how object oriented programming works in Python.

For the fourth pass, we'll look at a program that models the core of Twitter. We’ll see how modeling entity relationships is naturally expressed using classes built with named tuples or with dataclasses. For a second example, we’ll look at the syntax tree for a small compiler.

Finally, if time allows, we'll look at a new way of thinking about how to program. Given a rich collection of classes, many interesting problems boil down to planning a path through an object graph. It is as easy as planning a vacation. Armed with the knowledge, you will learn how to rapidly build your skills.

Видео #PyConEstonia 2020: 'Object Oriented Programming from scratch (four times)' by Raymond Hettinger канала Thorgate
Показать
Комментарии отсутствуют
Введите заголовок:

Введите адрес ссылки:

Введите адрес видео с YouTube:

Зарегистрируйтесь или войдите с
Информация о видео
10 ноября 2020 г. 20:05:55
01:16:19
Яндекс.Метрика