hyperstack-org / hyperstack-org/hyperstack
Consider renaming or aliasing Observable as Subject
オープン
discussion
- 主要言語
- JavaScript
- スター
- 538
- フォーク
- 41
- PR マージ指標
- 30日以内にマージされた PR はありません
説明
Definitions of the "Observer Pattern" use the term `Subject` to refer to what Hyperstack calls `Observable`.
Easy enough to make `Hyperstack::State::Subject` a synonym and deprecate Observable.
Note that the module `Hyperstack::State::Observer` already uses the correct term.
For example:
```ruby
class MyObject
include Hyperstack::State::Subject # vs. Hyperstack::State::Observable
...
end
```
コントリビューションガイド
評価
この issue はまだ評価されていません。