Загрузка...

Don't be a dunderhead - GeekcampSG 2023

What happens when python calculates 1 + 1? In this lightning talk, we'll go into how python makes use of the double underscored (dunder) methods, such as add and radd to provide a rich and comprehensive operator overloading mechanism. We'll strip back the abstraction, and go into the logic of how python decides to convert syntactical sugar into user specfied method calls, touching on reversed dunders, the NotImplemented Singleton, and how dunders work together. With that, we'll discuss how to properly implement custom operators overloading, and explain the reasoning behind certain good practices.

Javier is a programming hobbyist, having started 5 years ago after discovering Python. Since then, he's had a brush with many fields, from competing in CTFs to interning at DSTA for basic Deep Learning research.

Visit https://geekcamp.sg for more information about GeekcampSG

Видео Don't be a dunderhead - GeekcampSG 2023 канала GeekcampSG
Яндекс.Метрика
Все заметки Новая заметка Страницу в заметки
Страницу в закладки Мои закладки
На информационно-развлекательном портале SALDA.WS применяются cookie-файлы. Нажимая кнопку Принять, вы подтверждаете свое согласие на их использование.
О CookiesНапомнить позжеПринять