hyperstack-org / hyperstack-org/hyperstack

Consider renaming or aliasing Observable as Subject

Đang mở
#236 0 bình luận 1 reaction 0 người được giao Xem trên GitHub
discussion
Ngôn ngữ chính
JavaScript
Star
538
Fork
41
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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
```

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.