Come to think of it, private might be right anyway. Of course one may
subclass and override, but that is only because the private methods
and classes does not exists (well, they aren't visible anyway) in the
subclass. If the intention is to create a class that should only be
accessible from your code and never used by subclasses, I would go for
private.
Anyway, the modifiers in pike are somewhat confusing if you try to
apply knowledge from some other language to them...
/ Marcus Agehall (nu med semester)
Previous text:
>2004-07-22 07:57:
>Subject: Re: Access control
>--------------------------------------------------------------------
>Marcus Agehall (nu med semester) @ Pike (-) developers forum wrote:
>
>>Ah, that is true.
>>
>> / Marcus Agehall (nu med semester)
>>
>>Previous text:
>>
>>
>>>2004-07-20 16:22:
>>>Subject: Access control
>>>--------------------------------------------------------------------
>>>private is almost never right, since you can inherit and modify then.
>>>
>>>/ Martin Nilsson (DivX Networks)
>>>
>>>
>>>
>
>Thanks, I'll look what I get with different attributes.
>
>//Andreas
>
>
> / Brevbäraren
>