[squeak-dev] Subclassing OrderedCollection in an external package

H. Hirzel hannes.hirzel at gmail.com
Thu Mar 7 05:04:47 UTC 2013


Yes, and the question is about subclassing OrderedCollection. Quite
often done by beginners. Later on you find out that you can easily
wrap them in a class which is a subclass of Object.

Maybe it could help the discussion to see the actual example....

--Hannes

On 3/7/13, Casey Ransberger <casey.obrien.r at gmail.com> wrote:
> Oh come on, people, I subclass Object all the time! ;)
>
> On Wed, Mar 6, 2013 at 5:33 PM, David T. Lewis <lewis at mail.msen.com> wrote:
>
>> On Tue, Mar 05, 2013 at 02:33:50PM -0800, tim Rowledge wrote:
>> >
>> > On 05-03-2013, at 2:22 PM, Bert Freudenberg <bert at freudenbergs.de>
>> wrote:
>> > >
>> > > It's bad practice to subclass for no good reason,
>> >
>> > It's bad practice to do *anything* for no good reason. Given a good
>> reason, do it.
>>
>> I wish someone had told me that when I was younger.
>>
>> ;-)
>>
>> Dave
>>
>>
>>
>
>
> --
> Casey Ransberger
>


More information about the Squeak-dev mailing list