protected interface members
Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance
I know this is not supported, but i'm just looking for some reasoning and
perhaps debate.
Is there are reason why this is not supported as in the words of manhy a
French poet "it's doing my head in".
I simply wish to break some concrete (and circular) dependencies into
interface dependences and decouple some of my classes. It is an internal
coupling (almost) as i don't want some of these methods exposed to the
outside world, only to derived classes.
However, it may span assemblies so internal interfaces don't work for me.
Public interfaces of course do the job, but i don't want to expose internals
to consumers of my services.
Basically, i want to create an interface for members that can be inherited
in derived classes. But i can't.
steven ::
http://stevenR2.com
.
Relevant Pages
- Re: Identifier like "_", "$", etc.
... is the one responsible for making typeof regex to be ... This is why we should teach people internals of the ... The W3C DOM is defined in terms of interfaces; sets of properties and methods that object implementing those interfaces must possess. ... Neither ECMAScript, the W3C DOM specs nor the ECMAScript bindings for the DOM interfaces place any restrictions on the nature of the objects implementing an interface, and as ECMAScript functions are objects there is absolutely no reason for any object implementing a W3C DOM interface not to be an ECMAScript function. ... (comp.lang.javascript) - Re: Does Python really follow its philosophy of "Readability counts"?
... interface is what's documented as being the interface. ... We're told Python doesn't have private attributes. ... internals were inaccessible from Python code. ... always believe that their reason is a good reason. ... (comp.lang.python) - Re: Read-only, as opposed to const member
... They never even know the underlying accessor code was changed ... >> should care about. ... If it takes a month to propogate interface changes ... is about, keeping those internals private. ... (comp.lang.cpp) - Re: Abstract class or interface?
... I try to make the decision based on the relationship of the derived class to the base class. ... If the derived class "can act like" the type of the base class, I'd lean towards an interface. ... I understand the abstract class can have implementation in its methods and derived classes can only inherit one abstract class. ... (microsoft.public.dotnet.languages.csharp) - Re: OOP in Ruby?
... e.g. when implementing a particular algorithm I probably will first think about the internals and then decide which input or interface a class needs. ... In both cases though clarifying responsibilities of a class is the first and most important step IMHO. ... (comp.lang.ruby) |
|