exercism/go/react
2016-08-15 07:26:26 -05:00
..
interfaces.go Initial Commit 2016-08-13 18:20:14 -05:00
react_test.go Initial Commit 2016-08-13 18:20:14 -05:00
react.go asdf 2016-08-15 07:26:26 -05:00
README.md Initial Commit 2016-08-13 18:20:14 -05:00

React

Implement a basic reactive system.

Reactive programming is a programming paradigm that focuses on how values are computed in terms of each other to allow a change to one value to automatically propagate to other values, like in a spreadsheet.

Implement a basic reactive system with cells with settable values ("input" cells) and cells with values computed in terms of other cells ("compute" cells). Implement updates so that when an input value is changed, values propagate to reach a new stable system state.

In addition, compute cells should allow for registering change notification callbacks. Call a cells callbacks when the cells value in a new stable state has changed from the previous stable state.

To run the tests simply run the command go test in the exercise directory.

If the test suite contains benchmarks, you can run these with the -bench flag:

go test -bench .

For more detailed info about the Go track see the help page.

Submitting Incomplete Problems

It's possible to submit an incomplete solution so you can see how others have completed the exercise.