> I don't really care whether they allow private constructors or not, as
> long as they provide some way of accomplishing the same thing.
> Specifically, I want to be able to:
> 1) Limit the number of instances of certain classes (singletons,
> enumerations).

Did you have a look at haXe enums ?
http://haxe.org/ref#the_power_of_enum

> 2) Have methods which are not attached to specific class instances.

That's a bit like static methods no ?

> 3) Be able to create classes that cannot be instantiated themselves but
> can be superclasses of concrete classes.

Yes, I agree there. Removing the ability to create private constructors
seems completely pointless. The rational behind it seems a bit like "you
don't need that", which is not a very strong point IMHO.

Nicolas
_______________________________________________
[email protected]
To change your subscription options or search the archive:
http://chattyfig.figleaf.com/mailman/listinfo/flashcoders

Brought to you by Fig Leaf Software
Premier Authorized Adobe Consulting and Training
http://www.figleaf.com
http://training.figleaf.com

Reply via email to