The Real Python Podcast cover image

Python Decorators and Writing for Real Python

The Real Python Podcast

00:00

Object Oriented Programming

The at symbol is a syntactic sugar that makes it seem natural. It's such a neat tool to be able to reuse code and not have to, in the case of some of the examples given in this tutorial. You really get the ability to add those getter and setter sort of customizable methods as opposed to any kind of data coming in. So you can kind of refactor later instead of in Java, you typically make your getters and setters in case you need them with a lot of templating code. While in Python, you can just used the attributes as long as they're good enough and then change later if needed.

Transcript
Play full episode

The AI-powered Podcast Player

Save insights by tapping your headphones, chat with episodes, discover the best highlights - and more!
App store bannerPlay store banner
Get the app