[Newbies] Best place to ask Smalltalk questions?

Benjamin Schroeder benschroeder at acm.org
Sat Aug 2 14:50:31 UTC 2008

On Aug 2, 2008, at 10:43 AM, Sean Allen wrote:

> if I have class foo that is meant to only be descended from,
> never instantiated directly. and it has method bar that needs
> to made concrete by its descendents, what is the standard idiom for
> that?
> is there a specific error that should be thrown or just:
> foo
>  self error: 'any old error here'
> is there a particular error that is common practice to use?

You can do


		self subclassResponsibility

in such cases.

Ben Schroeder

More information about the Beginners mailing list