A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-November/075083.html below:

[Python-Dev] Declaring setters with getters

[Python-Dev] Declaring setters with getters [Python-Dev] Declaring setters with gettersTerry Reedy tjreedy at udel.edu
Thu Nov 1 04:25:04 CET 2007
"Raymond Hettinger" <python at rcn.com> wrote in message 
news:20071031194505.AAO44984 at ms19.lnh.mail.rcn.net...
|> I'm not sure about the name "propset"  ...
| >Maybe something like "setproperty" would be better.
|
| I think not.  Saying "setproperty" has too many ambiguous mental 
parsings.  When does "set" take place -- assigning a value to a property is 
different defining the property itself. Is "set" a verb so that we're 
talking about a property of sets/frozensets.  Is "set" a completed action 
so that the property has been set.
|
| Let's stick with "propset" which has precedent as an svn action and 
serves as a short, simple mnemonic to the functionality.
|
| Also, I find that these unique words are easier to search for.  I once 
co-owned a magazine called Know Your Boston and it was very difficult for 
clients to find using Google.

'propset' would have the virtue of following 'property' in the alpha 
listing of functions in the manual.



More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4