Interfce main purpose is to define communication methods for some kind of object. Pls be so kind and tell me what in a hell private properties have to do with external objects which what to communicate with instance implementing particular interface? Static mighe be usefull, but then again, creating instance level proxy method for static function access, or even getters setters are so easy that I dont see here any problem 404.
2006/10/23, Andreas R <[EMAIL PROTECTED]>:
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 _______________________________________________ Flashcoders@chattyfig.figleaf.com 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
_______________________________________________ Flashcoders@chattyfig.figleaf.com 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