Skip to content

Python descriptors to solving the problems of property(getter)

Notifications You must be signed in to change notification settings

dori-dev/python-descriptors

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Python Descriptors

Python descriptors to solving the problems of property(getter)

What is the Problem?

Using property(getter), setter, deleter for all variables, It creates similar(it repeats itself) code and the code is not clean!
The problem source code: problem.py

What is the Solution?

By using descriptors and creating classes for similar variable types, It creates clean code and doesn't repeat itself
The solution source code: solution.py

Links

Download Source Code: Click Here

My Github Account: Click Here

About

Python descriptors to solving the problems of property(getter)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages