Thursday, April 30, 2015

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!

No comments:

Post a Comment

Distraction Deterrents in Small Contexts

"distracted from distraction by distraction" - T.S. Eliot I've been reading a little on how Facebook and other social netwo...