comp.lang.ada
 help / color / mirror / Atom feed
From: tmoran@bix.com
Subject: Re: What  is differance between thick and thin binding?
Date: 1999/08/09
Date: 1999-08-09T00:00:00+00:00	[thread overview]
Message-ID: <EGHr3.236$n7.36371@typhoon-sf.snfc21.pbi.net> (raw)
In-Reply-To: 934219556.19836@www.remarq.com

  There was a thread on this some months ago (check dejavu) where
somebody gave a nice, succinct, explanation.  There's a much more
elaborate discussion in our TriAda paper on Claw, available
at www.rrsoftware.com
  A thin binding retains the style of the original.  It has just
enough changes to make it legal Ada, instead of C (or whatever).
A very thin binding can largely be generated by a program.
  A thick binding has an Ada style - it uses overloading,
exceptions instead of function return values, Ada-ish names, type
checking, Controlled records, etc.  and generally looks like
something an Ada programmer would have designed.  The
abstraction level is normally much higher than the thin
binding and a lot of the details have already been handled.
  There are of course different degrees of thickness.  For
instance, Claw contains the Windows message loop internally,
hiding all sorts of messy details, but the procedure
Claw.Edit.Empty_Undo_Buffer merely encapsulates sending an
EM_EMPTYUNDOBUFFER message to the window.  A really thick
binding, such as Java or Tcl/Tk, can present the same abstraction
across different platforms, but at the cost of making it
difficult to get a "Windows look and feel".  You pays your
money and you takes your choice.




  parent reply	other threads:[~1999-08-09  0:00 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <934219556.19836@www.remarq.com>
1999-08-09  0:00 ` What is differance between thick and thin binding? John Duncan
1999-08-10  0:00   ` Marin David Condic
1999-08-10  0:00     ` tmoran
1999-08-10  0:00     ` Stephen Leake
1999-08-11  0:00     ` John Duncan
1999-08-09  0:00 ` tmoran [this message]
1999-08-10  0:00 ` David Botton
1999-08-12  0:00 ` David Emery
replies disabled

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