I Take It All Back

My post on Python and data abstraction was mistaken: every example I had seen of using the '@property' feature showed how to control access to a variable with the same name as the property. But last week, and found an example showing that you don't need a variable with the property name at all, so it can, indeed, be used to screen moving a variable into a different class. I stand corrected!

Comments

Popular posts from this blog

Libertarians, My Libertarians!

"Pre-Galilean" Foolishness