The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
Newsgroups: comp.lang.lisp
From: k...@ashi.footprints.net (Kaz Kylheku)
Date: Thu, 29 Nov 2001 03:27:25 GMT
Local: Wed, Nov 28 2001 10:27 pm
Subject: Re: Preventing a class from being instantiated
In article <m3vgfu5mgo....@kappa.unlambda.com>, James A. Crippen wrote: One good way is not to write that class, and consequently not >How do I prevent a class from being instantiated under any >circumstances? encumber the user of the class with your restrictions. > I am constructing a largish class tree and the How about writing some documentation which describe the purpose >rootmost classes are really only meant as umbrella classes that >shouldn't be instantiated at any time. I'm not sure exactly how to >prevent them from being instantiated, however. Any ideas? of your classes according to your view of the world as their author. People that agree will then not instantiate them. You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
| ||||||||||||||