Re: reduce redundant code



Hi Steve,

"Steve Gerrard" <mynamehere@xxxxxxxxxxx> wrote in message
news:MNmdnYjLKp916EranZ2dnUVZ_remnZ2d@xxxxxxxxxxxxxx
MP wrote:

I'd sure like to get a handle on the oo way...don't know why I'm so
stupid that I cant' figure it out...other than I was born that way :-)



I can't pretend I have read this entire thread in detail, but I believe
you are dealing with an existing API that exposes certain objects, which
you can't change or add to.

precisely

My impression is that the "oo" way is something the developer
of that API should have done. For instance, if all those objects
implemented a common interface, you would be done already. So perhaps the
problem is that it is too late for "oo" in this case.


I just assume there's an oo way to encapsulate my interaction with that api
:-)
mark


.



Relevant Pages

  • Re: reduce redundant code
    ... don't know why I'm so stupid that I cant' ... figure it out...other than I was born that way :-) ... And BTW, if you can't figure it out, how to implement ...
    (microsoft.public.vb.general.discussion)
  • Re: reduce redundant code
    ... stupid that I cant' figure it out...other than I was born that way :-) ... Examples would include the OWL or MFC for the Win32 API; ADO; Forms and ...
    (microsoft.public.vb.general.discussion)
  • Re: reduce redundant code
    ... stupid that I cant' figure it out...other than I was born that way :-) ... of that API should have done. ... common interface, ...
    (microsoft.public.vb.general.discussion)
  • Re: Ada.Directories problems, a summary
    ... I was thinking Modula-2's text API vs. Ada's one. ... In software design this sort of stupidity is called abstraction ... have stupid limitations like this. ... URI scheme parser is not a major part. ...
    (comp.lang.ada)
  • Re: Print Files
    ... >how to send a word document, jpeg any known file type to ... into Word's file format to emulate its printing ... >i know most of the api calls that i should use but cant figure out the ... You don't need much in the way of API ...
    (microsoft.public.vb.winapi)

Loading