comp.lang.ada
 help / color / mirror / Atom feed
From: "Dmitry A. Kazakov" <mailbox@dmitry-kazakov.de>
Subject: Re: Static vs Dynamic binding and its effect on maintenance of software
Date: Thu, 1 Jan 2009 15:41:04 +0100
Date: 2009-01-01T15:41:09+01:00	[thread overview]
Message-ID: <1q1oy8fvru5xy.vswsq72qdlat$.dlg@40tude.net> (raw)
In-Reply-To: CZ17l.4150$jZ1.3155@flpi144.ffdc.sbc.com

On Thu, 1 Jan 2009 03:41:15 -0800, Nasser Abbasi wrote:

> From "Object-Oriented programming and Java",  ISBN 981-308-396-4
> 
> I am posting this on Ada group for comments, since Ada is well known for its 
> static binding more than any other language I know.
> 
> "Static binding is limited and may lead to difficulty in software 
> maintenance. Dynamic binding, on the other hand, provides design flexibility 
> and may enhance software maintainability"
> 
> Here is a screen shot of the page where the above was taken
> http://12000.org/tmp/010109/static_binding.png
> 
> I understand how dynamic binding can be more 'flexible', but why static 
> binding "may lead to difficulty in software maintenance" ? I do not 
> understand the rational behind this.
> 
> I would have thought than dynamic binding would do that more than static 
> binding?

(Usual popcorn, I gather. Why do you start the new year reading this? (:-)) 

Without specifying what is bound to what it is meaningless to talk about
it. Anyway the key issue is not the time of binding, but the behavior of.
Precisely if late binding may fail.

When it cannot, then it is static, in the sense that there anyway exists
some naming schema, call it as you wish, checked statically. If it can
fail, then technically there are two further possibilities. Either you add
an exception propagation or other fallback *static binding*, which brings
you into back to the starting position. Or else you stop the program and
pop the debugger up. The latter, I mean, running the debugger is probably
author's understanding of software maintenance...

-- 
Regards,
Dmitry A. Kazakov
http://www.dmitry-kazakov.de



  parent reply	other threads:[~2009-01-01 14:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-01 11:41 Static vs Dynamic binding and its effect on maintenance of software Nasser Abbasi
2009-01-01 13:57 ` Colin Paul Gloster
2009-01-01 14:41 ` Dmitry A. Kazakov [this message]
2009-01-03 19:07 ` hesobreira
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox