View · Search · Index
No registered users in community xowiki
in last 10 minutes

XOTcl/NX mailing list by object move?

From: Kristoffer Lawson <setok_at_fishpool.com>
Date: Mon, 20 Mar 2006 23:26:26 +0200

On 20 Mar 2006, at 18:41, Scott Gargash wrote:

> xotcl-bounces_at_alice.wu-wien.ac.at wrote on 03/20/2006 07:21:27 AM:
>
> > Kristoffer Lawson schrieb:
> >
> > > I'm also wondering what the name should be, to make it really
> clear.
> > > Is [my var] clear enough? or should it be [my normalisedVar]?
> >
> > "my var" is not a good option, "my varname" would be better,
> >
> > furthermore, "my method" is already defined, getting a good name
> with
> > method seems messy. how about:
>
> There's some semantic relationship between the two accessors, so it
> would be nice to have some overlap in their names. How about "my
> varname" and "my methodname"?
How about, to make it totally obvious, "my varNamespace" and "my
methodNamespace"? Readability and clarity is generally more important
in programming than cutting a few keystrokes off and at least that
would be easy for anyone reading the code to decipher.

            / http://www.fishpool.com/~setok/