Re: How Big is Too Big?



"Michael C" <nospam@xxxxxxxxxx> wrote in message
news:efcpQY3EHHA.2176@xxxxxxxxxxxxxxxxxxxxxxx
Late binding should be avoided for several
reasons, the biggest for me is that errors are not picked up at compile
time.

Replying to your own posts must be a sign of madness but I just wanted to
add to this. I can imagine an app that uses late binding heavily being very
difficult to maintain. If you change 1 part of an interface (say to add a
parameter to a function) you simply have no way at all to know what code
needs to be updated to work with those changes except to search the *entire*
app. Missing one line would be very easy which means the entire app should
be tested. Considering you are suggesting a solution which you claim is
simple but has a complex spider web of dlls and references, finding code
that needs to be updated would be quite a task. Changing an interface
becomes a very difficult task and is probably something you wouldn't do
unless there was no other way.

On the other hand if early binding is used you just change the interface and
push ctrl-F5. While late binding might get the project rolling more quickly
it will eventually become an impediment.

Michael


.



Relevant Pages

  • Re: For the AdaOS folks
    ... API that says create/delete an integer? ... >>as an Ada binding, I can do another registry query and get the ... libraries can strengthen the typing of the Ada interface. ...
    (comp.lang.ada)
  • Re: COM Question
    ... interface (or base class - it doesn't have to specifically be an ... Each new object will reference this same DLL to get the ... Your "consumer" app also references the original base that holds the ...
    (microsoft.public.dotnet.framework.compactframework)
  • In desperate need of COM interop help
    ... provide the other applicaiton with an interface to my classfor storing ... data, and when this other app uses COM to call my exposed methods, I will ... will get the interface I expose, and send the data over to me. ... Populate1(); ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Delphi Application Skin Ability Poll
    ... > To sale more copies to end users the beautiful interface of software is very ... you have the skill for do a BEAUTIFUL ... "Beauty" communicate us a lot of things and generate good (or bad, ... A commercial app must provide the sense of "you are a professional", ...
    (borland.public.delphi.non-technical)
  • Re: Oleaut32.dll needs/doesnt need type library??
    ... late binding support will also be implemented by the ... they indicate this support by deriving from IDispatch. ... seen the term "custom interface" used for an interface that's neither ... to find out that the first type libraries only provided for late ...
    (microsoft.public.vc.atl)