Dabbling with Descriptors

farthVader91
|
10 Jun, 2016

5

Votes

Description:

There are a lot of nifty features when you peek under the hood of Python. Descriptors happen to be just one of them. The talk will help you understand just what they are and how you can use them to write idiomatic code.

Touchpoints:

Getters & Setters

@property

The descriptor protocol

Write your own descriptor

Embed logic in attribute access

Beautify your code

Do's & Dont's

Prerequisites:

There are no pre-requisites. A basic understanding of OOP concepts will suffice.

Content URLs:

N/a (coming soon)

Speaker Info:

Vishal Gowda is a developer at HackerEarth. He has 3 years of experience, working primarily in Python.