Home > Software Development > Python descriptors

Python descriptors

August 21st, 2003

Raymond Hettinger has written a How-To Guide for Descriptors which is a very good intro to the topic. I thought Python’s new staticmethod and property syntaxes were rather odd compared to Java’s way of doing it, but reading about the general purpose Descriptor mechanism makes it clearer. Looks like a very useful language feature indeed.

Software Development

  1. No comments yet.
  1. No trackbacks yet.