newbie: self.member syntax seems /really/ annoying

Ben Finney bignose+hates-spam at
Wed Sep 19 01:15:47 CEST 2007

"Colin J. Williams" <cjw at> writes:

> .rect.width = .foo(.rect.x + .rect.y) * .boo()
> Does this preceding "." create parsing problems?

Perhaps not for the computer, but certainly for the human. A leading
"." is far too easy to miss when visually scanning the code, and fails
the "explicit" principle.

 \        "I have the simplest tastes.  I am always satisfied with the |
  `\                                            best."  -- Oscar Wilde |
_o__)                                                                  |
Ben Finney

More information about the Python-list mailing list