Questions tagged [binding]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
318 views

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? #...
user avatar
  • 570
0 votes
2 answers
127 views

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 ...
user avatar
  • 2,254
0 votes
1 answer
149 views

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 ...
user avatar
  • 29
2 votes
3 answers
811 views

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 ...
user avatar
0 votes
2 answers
109 views

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. ...
user avatar
  • 11
1 vote
1 answer
116 views

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) { ...
user avatar
  • 8,031
0 votes
1 answer
179 views

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 ...
user avatar
0 votes
0 answers
68 views

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 ...
user avatar
  • 497
0 votes
1 answer
573 views

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. ...
user avatar
  • 5,281
0 votes
1 answer
2k views

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 ...
user avatar
  • 5,281
2 votes
1 answer
98 views

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 ...
user avatar
  • 23
2 votes
3 answers
265 views

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 ...
user avatar
  • 285
1 vote
0 answers
559 views

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 ...
user avatar
  • 191
63 votes
8 answers
15k views

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 ...
user avatar
  • 4,650
4 votes
1 answer
2k views

How to test model binding within an MVC controller when Bind attribute with Include list is used?

Auto-generated action methods in MVC5 make use of the BindAttribute with an Include list that contains the field names in a string literal. Example: // POST: MyTable/Edit/5 // To protect from ...
user avatar
  • 151
4 votes
1 answer
984 views

WPF properties memory management

I'm trying to build binding system similar to the one that is used in WPF and I ran into some memory leaking problems, so here comes my question - how is memory managed in WPF property system? From ...
user avatar
  • 2,613
2 votes
1 answer
5k views

Differences between Dynamic Dispatch and Dynamic Binding

I've been looking on Google for a clear diffrentiation with examples but couldn't find any. I'm trying to understand the differences between Dynamic Dispatch and Dynamic Binding in Object Oriented ...
user avatar
  • 20.7k
5 votes
1 answer
455 views

Why does DrRacket IDE considers some identifiers as "symbols" and some as "keywords"? What is the difference?

Why does DrRacket (kind of Scheme) IDE highlights some of the identifiers as "keywords" (for example define, lambda, send*), and the others as "symbols" (user defined identifiers, +, -, abs, send, ...
user avatar
  • 922
1 vote
1 answer
798 views

Syncing objects from code with the view in WPF

I've been reading some into it, but I am time pressed, so I would require a simple solution now and I promise to read up on it later. I come from a winforms c# background, and have lately been working ...
user avatar
  • 113
3 votes
2 answers
3k views

How exactly does a program (executable image) and library (pre-compiled image) "link" together?

I know very well of the difference of static versus dynamic linking. What I want to know is, when linking statically (with a library like Winmm.lib on Windows), how does the linker "link" the pre-...
user avatar
6 votes
3 answers
2k views

How to make support for bindings for a scripting language

Main I'm making a scripting language using C++. I plan to use it with a simple test game editor. But I have to make a support for bindings to call game engine's nodes' methods to update positions, ...
user avatar
4 votes
4 answers
407 views

In Scheme, what is formally a program's state?

I think i've understood more or less what a parsed Scheme program looks like (a binary tree with atomic values on the leaves, if i have understood correctly). Can anybody please define to me, or give ...
user avatar
  • 922
1 vote
1 answer
220 views

How we call an RPC that not only calls external functions but also updates data structures?

I have a simple C++ RPC that lets you have remote class instances that support live members (data structures) update as well as method calls. For example I had a class declared like this (pseudocode): ...
user avatar
  • 541
0 votes
1 answer
842 views

Where does the "mm" come from in GTKmm, glibmm, etc

I understand that the "mm" suffix [in various GTK-associated C++ binding libraries] means "minus minus," but where exactly does it come from? I understand that there is a programming language called "...
user avatar
  • 1,443
0 votes
1 answer
1k views

Java Dynamic Binding

I am having trouble understanding the OOP Polymorphic principl of Dynamic Binding ( Late Binding ) in Java. I looked for question pertaining to java, and wasn't sure if a overall answer to how dynamic ...
user avatar
3 votes
1 answer
6k views

Is it possible to call a Javascript function from C?

I'd like to find a way to call Javascript functions from C. Are there any language bindings available for this purpose? I'm trying to make a library of Javascript functions accessible from C. (...
user avatar
36 votes
8 answers
7k views

How can I write a set of functions that can be invoked from (almost) any programming language?

I'd like to find a way to write an API that can be accessed from any other programming language via language bindings (or some other framework). Is it possible to do this? If so, which programming ...
user avatar
1 vote
1 answer
7k views

How are Implicit-Heap dynamic Storage Binding and Dynamic type binding similar?

"Concepts of Programming languages" by Robert Sebesta says - Implicit Heap-Dynamic Storage Binding: Implicit Heap-Dynamic variables are bound to heap storage only when they are assigned ...
user avatar
  • 731
3 votes
3 answers
398 views

How do I improve my ability to manipulate code quickly, not wpm?

I have seen several questions on here about touch typing and words per minute but not about improving ones ability to manipulate text using keyboard shortcuts, bindings etc. I have tried putting a ...
user avatar
4 votes
1 answer
7k views

What's the difference between static and dynamic binding? [closed]

We are learning about methods in class, and I am having trouble especially with the concept of static vs. dynamic. Wikipedia says this: Methods can be bound to a class at compile time (static ...
user avatar
  • 6,125
2 votes
1 answer
582 views

Can I legally publish my Fortran 90 wrappers to Nvidias' CUFFT library (from the CUDA SDK)?

From a legal standpoint (licensing issues), can I legally, in agreement with the license, publish Fortran 90 wrappers (bindings) to the CUFFT library from Nvidia CUDA Toolkit, under some open source ...
user avatar
0 votes
4 answers
871 views

About languages strongly typed with late binding, do they make sense?

I never learnt anything about VB6 (and I dont want to) but I wanted to search for bad things in computer software, so my first though was VB6. So for example, VB6 was strongly typed with late binding....
user avatar
  • 111
11 votes
6 answers
696 views

Why binding is not a native feature in most of the languages?

IMHO binding a variable to another variable or an expression is a very common scenario in mathematics. In fact, in the beginning, many students think the assignment operator(=) is some kind of binding....
user avatar
  • 9,242