Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving from Foxpro to C# or Java. Which one?
Message
From
19/05/2005 12:12:02
 
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
01014647
Message ID:
01015858
Views:
20
Hugo,

>The question is why did I say that they do not help OO D/D in this conditions? Simple, they are there as the solution to a problem that would not exist in a OO D/D<

And what is that problem? I guess I'm missing your point. Sorry. =(

>... just take a look at IEnumerator and IEnumerable interfaces as a clear example of what I am trying to say, you would not need this interfaces at all in OO language, the "contract" is needed just for languages purposes, like the use of foreach, among other uses I am sure.<

I was talking about custom Interfaces that you create for your application, not system Interfaces (like you mention). Something along the lines of what Perry mentioned in his reply.

>By the way, of what I said to Kevin, the interfaces bit was just that, a small comment, I did not expect to get any answers for it, I thought my other comments to Kevin were deserving of some answers, but, once again, Hugo was wrong, will I ever get used to it?<

Yes, I know it was an "oh by the way" comment, but I still was curious about your opinion on that. I can't speak for Kevin ... he'll answer what he wants to answer (BTW, he's on vacation for a few days, so he may not be getting back to you soon).

>Oh, my, I can't believe I missed the basketball game to write this, never again! :(<

Don't basketball games last at least two hours? I doubt if you spent two hours on this reply. <g>

~~Bonnie




>Bonny, did I say that it detracts from a good OO design/develpment? I do not think it helps, that does not mean it detracts. Let me try to explain, I am not good at this.
>
>I said they are mostly used (and this is just a personal opinion by reading questions and answers in different places, I must appologize if it appeared as if I performed some statistics, which I obviously did not, and reading Java newsgroups might have been a negative factor), sorry, I was saying, they are mostly used as a work around to solve the problems that arise using types in an OO language. You will notice that this use of interfaces do not exist in a pure OO language, like Smalltalk (Although they can be added, in particular as a Multiple Inheritance "solution"). Of course this is not the only use interfaces have, Kevin Goff gave a lecture on the topic, but I disgress. The question is why did I say that they do not help OO D/D in this conditions? Simple, they are there as the solution to a problem that would not exist in a OO D/D
>
>Kevin mentioned that in the .NET Framework they are used extensively. Now, I do not know even 1% of what Kevin knows about the .NET framework, but some of those interfaces are, IMO, just the work around I was talking about (plus something else I did not want to discuss with Martín, that is the "predicates", but I disgress again), just take a look at IEnumerator and IEnumerable interfaces as a clear example of what I am trying to say, you would not need this interfaces at all in OO language, the "contract" is needed just for languages purposes, like the use of foreach, among other uses I am sure.
>
>Not sure if I am clear, I said before I am not good at all at making others understand me, in particular for I barely understand myself the little I lie myself I know.
>
>By the way, of what I said to Kevin, the interfaces bit was just that, a small comment, I did not expect to get any answers for it, I thought my other comments to Kevin were deserving of some answers, but, once again, Hugo was wrong, will I ever get used to it?
>
>Oh, my, I can't believe I missed the basketball game to write this, never again! :(
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform