>> As I understand it, it makes most sense to set/get the attribute of
>> an object using a method rather than doing it directly.
>
> Heavens no!!! That's backwards!
>
> It might be justified in languages like Java, where you can't easily
> change your mind about direct attribute access. There's al
On Tue, Sep 21, 2010 at 4:16 PM, bob gailer wrote:
> On 9/21/2010 5:06 PM, lists wrote:
>
>> Hi tutors,
>>
>> I'm trying to each myself programming and come from a background in
>> system administration with some experience in scripting (so I'm very
>> new to it).
>>
>> Currently I'm grappling w
>
> My opinion - unless there is some verification or translation or action
> required it is better (easier, clearer) to just access and assign the
> attribute directly.
This makes sense. I guess my current way of doing it just reflects my
inexperience. At the moment I'm just fumbling this out so
On Wed, 22 Sep 2010 07:06:50 am lists wrote:
> As I understand it, it makes most sense to set/get the attribute of
> an object using a method rather than doing it directly.
Heavens no!!! That's backwards!
It might be justified in languages like Java, where you can't easily
change your mind abou
On 9/21/2010 5:06 PM, lists wrote:
Hi tutors,
I'm trying to each myself programming and come from a background in
system administration with some experience in scripting (so I'm very
new to it).
Currently I'm grappling with the concept of object orientating
programming and have a question abou
>> > Currently I'm grappling with the concept of object orientating
>>
>> Oops, just re-read that email. Anyone spot the obvious typo... Ahemmm
>> of course I meant object orientated ;-)
>
>
> Actually I believe you mean object *oriented*.
> -Wayne
Wow, spelling lessons too. And I thought this pla
> Currently I'm grappling with the concept of object orientating
> programming and have a question about setting & getting attributes.
Oops, just re-read that email. Anyone spot the obvious typo... Ahemmm
of course I meant object orientated ;-)
Chris
__
Hi tutors,
I'm trying to each myself programming and come from a background in
system administration with some experience in scripting (so I'm very
new to it).
Currently I'm grappling with the concept of object orientating
programming and have a question about setting & getting attributes.
As I