On 8/22/07, Alan MacDougall <[EMAIL PROTECTED]> wrote:
>
> Well, the idea is that you'd never mix the two syntaxes. Either every
> single field uses explicit getters, or every single one uses
> property-style access.
Fine if you're working by yourself, just using your own code.
> An abstract clas
And another point: Suppose you start out making something as a public
field and then later realize you need to restrict its value in some
way. With properties, this change will make absolutely no difference
to the rest of your code. Without properties, you will have to change
every instance of "
T. Michael Keesey wrote:
On 8/22/07, Alan MacDougall <[EMAIL PROTECTED]> wrote:
Further derail! What are people's thoughts on implicit vs. explicit
accessors? I prefer explicit ones, but I confess that it's almost
entirely because I learned Java before Actionscript.
I think a lot of
On 8/22/07, Alan MacDougall <[EMAIL PROTECTED]> wrote:
> Further derail! What are people's thoughts on implicit vs. explicit
> accessors? I prefer explicit ones, but I confess that it's almost
> entirely because I learned Java before Actionscript.
I think a lot of it has to do with readability. Co
Further derail! What are people's thoughts on implicit vs. explicit
accessors? I prefer explicit ones, but I confess that it's almost
entirely because I learned Java before Actionscript. You can't argue
that explicit setters are required for a "serious" language, because C#
prefers implicit set
5 matches
Mail list logo