adept-dm / adept

Adept - the predictable dependency management system
171 stars 10 forks source link

ResolutionResults must be renamed #36

Closed freekh closed 10 years ago

freekh commented 10 years ago

The term ResolutionResult should be replaced with Context. Specifically a "ResolutionResult" is a ContextValue and "ResolutionResults" (plural) is a Context.

The reason for the name change is that it makes it easier to sell the reliability: The definition of context is as follows: the circumstances that form the setting for an event, statement, or idea, and in terms of which it can be fully understood. VS the definition of state: the particular condition that someone or something is in at a specific time.

The difference here is time. Ivy and Maven has state (changes over time), but Adept has uses a context which is immutable over time. Ivy/Maven: dependencies X state(time) = result(time), Adept: dependencies X context = result.

freekh commented 10 years ago

Remember to also Try and change variable names to make things more clear