Re: How Big is Too Big?
- From: "Michael C" <nospam@xxxxxxxxxx>
- Date: Wed, 29 Nov 2006 17:54:37 +1100
"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
.
- References:
- Re: How Big is Too Big?
- From: Michael C
- Re: How Big is Too Big?
- Prev by Date: RE: Form steals the focus irrespective of the Z Order in VB6
- Next by Date: Re: ReDim Preserve code almost working
- Previous by thread: Re: How Big is Too Big?
- Next by thread: Re: How Big is Too Big?
- Index(es):
Relevant Pages
|