Paul McNett wrote:
> On 3/23/10 6:58 AM, Ricardo Aráoz wrote:
>   
>> John wrote:
>>     
>>> You know it's sort of a difficult thing to recall that if it's a Property it
>>> starts with an uppercase and when it's an attribute/method it's lower case.
>>>
>>>       
>> I'm confused here. I've googled and got even more confused.
>> I always thought attribute and property were synonyms for a variable
>> bound to a class and that a method was a procedure bound to a class.
>> But it would seem I am wrong. Any help here?
>>     
>
> A method is a bound function.
>
> An attribute is a name in the class's namespace, accessible by referencing 
> <classinstance>.<attributename>.
>
> A property is a special object you reference as if it were a simple 
> attribute, but it 
> actually gets the value from a "getter", and sets the value with a "setter".
>   

So there is no way a *user* of the framework may know if it's a property
or an attribute (without learning the inner works of the framework which
defeats it's purpose), so the upper or lower case makes no difference to
a user, though good for the developers. Or am I missing something here?




--- StripMime Report -- processed MIME parts ---
multipart/alternative
  text/plain (text body -- kept)
  text/html
---
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message: http://leafe.com/archives/byMID/[email protected]

Reply via email to