[Collections] [Hooks] API enhancment #29
Labels
enhancement
New feature or request
module:main:collections
Concerns the [Collections] module
module:main:hooks
Concerns the [Hooks] module
to discuss
Topic to be discussed and/or thought over
Fix temporary collections API and come up with a new one (like from Java API but better?).
Hooks. A part of abstract algorithms works like (or precisely are) dynamic algorithms. It means there is an input data that is changing and the output should be changed along. It also means that there should be an API to simplify representation of such relationship.
Suggestion is that there should be a
Hook
interface which declares API for hooking on changes viewers. In that case all the algorithms can be represented as a simple object which state depends on its arguments and, hence, can be called "views". For example,The text was updated successfully, but these errors were encountered: