logo       

RE: Design best practice : put state-independent methods onclass side?: msg#00162

lang.smalltalk.squeak.beginners

Subject: RE: Design best practice : put state-independent methods onclass side?

> I'm guessing you like that the class methods can be invoked
> easily from the class name. What you want is a well known object.

Like a class?

> I wouldn't use a class object just to create a well known
> object. I'd probably start with a Singleton and work from there.

Like a class? Classes are singletons, what do you have against using them
as such?

Ramon Leon
http://onsmalltalk.com


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise