Loading...

Thomas Ballinger Know thy self Methods and method binding PyCon 2017

2,435 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on May 20, 2017

"Speaker: Thomas Ballinger

Methods are like functions, but different. How? Why? And what's will having to type ""self"" all the time?

We'll explore partial application of functions and review why it might be nice to start using classes. Then to clarify how method objects work we'll examine the result of accessing the method attributes of an object without calling them. Understanding the behavior we uncover here will require more attribute lookup experiments, which will lead us discover the power of descriptors.

Along the way we'll peek in at other languages' approaches to method binding, hopefully coming to appreciate the way Python does things enough to type ""self"" a few thousand more times.

Slides can be found at: https://speakerdeck.com/pycon2017 and https://github.com/PyCon/2017-slides"

Loading...

When autoplay is enabled, a suggested video will automatically play next.

Up next


to add this to Watch Later

Add to

Loading playlists...