So i'm trying to build a framework around interfaces. To create an
application within this framework, ideally all you'd have to do is
implement the interfaces and satisfy their conditions.
However:
No static methods in interfaces means no static methods means no
singletons. Bummer.
No way to specify private constructors (also for singletons). Bummer.
How would you smart people work around this? Documentation?
It seems like a major disadvantage to interfaces, but i may just be
missing the point entirely. Some tell me interfaces are "only for
polymorphism", and while that's nice and all it doesn't make sense to me.
- Andreas R
_______________________________________________
[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