realbasic-nug
[Top] [All Lists]

Re: Constructors for Modules

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Re: Constructors for Modules
From: Thomas Reed <tareed at bitjuggler dot com>
Date: Wed, 30 Jul 2003 15:09:42 -0400
He's talking about auto-instantiating. Like the App class or maybe the default window.

I still don't get it, then -- instantiating is easy to do yourself. It takes one line of code and one property definition. I'm not sure how worthwhile it would be to add a feature to RB to eliminate this miniscule amount of work.

The one aspect of this that I *can* see wanting support for is singletons. It would be nice if there were some way of enforcing singleton behavior for a class. (ie, prevent more than one from being created)
--

Thomas Reed
BitJuggler Software
<http://www.bitjuggler.com/>

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe or switch delivery mode:
<http://support.realsoftware.com/listmanager/>
.


<Prev in Thread] Current Thread [Next in Thread>