You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We currently use the term "binding type" for specifying the common denominator between modules providing "things" (resources, classes, user-defined) and modules consuming (or using) those things. That term unfortunately is quite abstract and not intuitive to grasp.
To borrow a term from software architecture, I would like to propose changing that term to "contract". Modules can define contracts and use any "thing" that satisfies that contract. Other modules can provide things satisfying the contract.
A contract is made up of three properties:
its globally unique name
the type of the things the contract expects ("resource", "class", user-defined)
I quite like that changed naming and think it is much easier to understand without explaining as much as we currently have to explain. If there are no major concerns, I'd like to tackle this change with beta12.
The text was updated successfully, but these errors were encountered:
We currently use the term "binding type" for specifying the common denominator between modules providing "things" (resources, classes, user-defined) and modules consuming (or using) those things. That term unfortunately is quite abstract and not intuitive to grasp.
To borrow a term from software architecture, I would like to propose changing that term to "contract". Modules can define contracts and use any "thing" that satisfies that contract. Other modules can provide things satisfying the contract.
A contract is made up of three properties:
The definition of contracts would look like this:
When a module provides "things" satisfying the contract, that looks like this:
I quite like that changed naming and think it is much easier to understand without explaining as much as we currently have to explain. If there are no major concerns, I'd like to tackle this change with beta12.
The text was updated successfully, but these errors were encountered: