cyclejs-community / redux-cycles

Bring functional reactive programming to Redux using Cycle.js
MIT License
745 stars 30 forks source link

What are the $s in variable names? #48

Open graue opened 4 years ago

graue commented 4 years ago

As a n00b to this library and observables, it's not clear why a lot of the variables in the README's examples have dollar signs at the end of their names.

Explaining the convention would make your project more accessible.

(Following the links to other libraries cited is not helpful either: the first code examples given in the docs for both Cycle.js and redux-observable also introduce dollar-sign variables with no explanation.)

artfuldev commented 4 years ago

$ is read as stream so pong$ is read as pong stream. I am not sure if this is a question, hence tried answering. If you wish to improve the documentation, I think we need this effort put in, yes.