Re: distinguishing getters and setters
Dave Thomas <[email protected]> Thu, 18 Sep 2003 12:57:39 -0500
| Newsgroups | gmane.comp.programming.tools.fit.devel |
|---|---|
| Message-ID | <[email protected]> |
On Thursday, Sep 18, 2003, at 12:49 US/Central, Jim Little wrote:
> If we were to change the convention, I would like us to make getters
> use
> a question mark and setters to use nothing. Or maybe some other set of
> symbols.
>
> x | y | divide?
>
Although sound from a CS perspective, I wonder if this would make sense
to the target audience, the business users.
Perhaps better might be the spreadsheet conventions: a derived value is
preceded by an equals sign
a b =a+b
1 2 3
4 5 9
By extension, we could have
a b =sum
Cheers
Dave