Questions tagged [binding]
The binding tag has no summary.
34 questions
4votes
1answer
445views
How to bind C/C++ functions for my language [closed]
I'm making an interpreter (currently in python but later I'll remake it in C++) and I wondered how I could use a C/C++ function in my language so when somebody wants to write an extension for my ...
0votes
1answer
1kviews
Capture by value/reference and early/late binding
Is capture by value (x below) an early binding and capture by reference (y below) a late binding in C++ lambdas, or are they both early bindings—the first by value and the second by reference? #...
0votes
2answers
226views
Is it possible to query data in a RDMS without writing SQL?
Disclaimer: I'm not very knowledgeable when it comes to SQL or RDBMS in general. I've encountered this interesting answer about SQL as a language: https://stackoverflow.com/a/1643440/414063 This ...
0votes
1answer
279views
How Would I Create Bindings to a GUI toolkit like GTK, Tk, or Qt for a Programming Language?
The title says it all. How would I, in theory, create a binding for different GUI toolkits for a programming language that has no GUI bindings. I ask because I want to experiment with this sometime ...
2votes
3answers
1kviews
What is late binding?
I know, there are lots of sources on the internet, but I do not understand them. Wikipedia: "Late binding, dynamic binding, or dynamic linkage is a computer programming mechanism in which the method ...
0votes
2answers
187views
What's the exact usage of the term "foreign function interfaces"?
I'm working on a project that requires using multiple programming languages. I'm confused about what term to use to specify the interfaces available to bind two languages, e.g JNI, ctypes, jpype, etc. ...
1vote
1answer
585views
Can you explain the behavior of PHP in cases when a parent class variable is masked by the child variable of the same name? [closed]
See the comment inside ChildEntity ::__construct(): class ChildEntity extends ParentEntity { /** @var int */ protected $classParameter; function __construct(int $classParameter) { ...
0votes
1answer
190views
For what reasons would you use AngularJS expression (&) binding instead of using events?
Like the title asks, for what reasons would you use the ampersand binding in AngularJS instead of utilizing an event system--especially in a case where your application already uses events for some ...
0votes
0answers
80views
Is data binding in an SQL RDBMS a fruitful endeavour?
I've found that a common task for web applications I've built is to react to a change in the state of the database. That is, any user interaction that affects the persistent state may change views ...
0votes
1answer
962views
Relation between static and dynamic bindings and scopings?
From https://en.wikipedia.org/wiki/Name_binding name binding is the association of entities (data and/or code) with identifiers.[1] An identifier bound to an object is said to reference that object. ...
0votes
1answer
2kviews
Differences between deep and shallow bindings for static scoping
I am self-learning Michael L. Scott's Programming Language Pragmatics. The following quote explains how deep binding and shallow binding are different in the presence of static scoping: program ...
2votes
1answer
105views
ADO.NET - Is it better to handle a combo box or label event, and where should the data be sourced from?
Context I recently wrote a final exam that required using a BindingSource object with ADO.NET to populate a number of combo box and label controls from which the user could perform basic business ...
2votes
3answers
270views
Best practise for databinding when a non-data object is included with the data
I'm using .NET with Windows Forms, but I believe there may be similar concerns with other toolkits. Suppose we have a list of objects of a certain type. Using an example to make the following easier ...
1vote
0answers
596views
Should my combobox for boolean values be in code-behind or in my viewmodel?
I ran into a disagreement with a coworker of mine on the implementation of representing a Boolean value in a ComboBox using Xaml and MVVM. Currently, my viewmodel is very simple. I have a bool? which ...
63votes
8answers
16kviews
Why does C provide language 'bindings' where C++ falls short?
I recently was wondering when to use C over C++, and vice versa? Fortunately someone already beat me to it and although it took a while, I was able to digest all the answers and comments to that ...