hyperstack-org / hyperstack-org/hyperstack

Consider renaming or aliasing Observable as Subject

オープン
#236 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。