Squeaking trouble
John M McIntosh
johnmci at smalltalkconsulting.com
Mon Nov 14 18:29:49 UTC 2005
I'll note if you've not noticed it yet, there are class comments
accessible from the browser. Perhaps some classes are lacking
comments, but
SequenceableCollection says:
"I am an abstract superclass for collections that have a well-defined
order associated with their elements. Thus each element is externally-
named by integers referred to as indices."
In general abstract classes shouldn't have instances, but then you
rely on the author or followers to ensure creating an instance is not
allowed, or does not create an issue, beyond testing there is no
enforcement of this rule.
Over the years we have attempted to ensure Alt-., cmd-. (depends on
platform) will stop issues like infinite recursion, problems with
this should be reported to Mantis with a simple example.
Squeak & Smalltalk is very much like Unix, very powerful, you can do
anything and since you have full access to everything you can as you
notice
trash the environment. Same for unix, doing rm -rf / can lead to
interesting times.
On 14-Nov-05, at 9:27 AM, Bert Freudenberg wrote:
> Am 14.11.2005 um 16:13 schrieb Bob.Cowdery at CGI-Europe.com:
>> x := SequenceableCollection new, then try to print x. Lock-up +
>> 100% CPU. The only response is from the main window, quit without
>> saving then kill squeak as it's still running.
> As others pointed out, Alt-. would have interrupted that "endless"
> loop quite nicely.
>
> SequenceableCollection is an abstract class and thus is not meant
> for direct instantiation. Which is not a problem at all because you
> would find out very soon if you try to use it. Which in fact you
> did ;-)
>
> - Bert -
>
>
>
--
========================================================================
===
John M. McIntosh <johnmci at smalltalkconsulting.com> 1-800-477-2659
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
========================================================================
===
More information about the Squeak-dev
mailing list
|