hyperstack-org / hyperstack-org/hyperstack
Consider renaming or aliasing Observable as Subject
Abierto
discussion
- Lenguaje dominante
- JavaScript
- Estrellas
- 538
- Forks
- 41
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Descripción
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
```
Guía de contribución
Evaluación
Este issue todavía no se ha evaluado.