data-oriented-programming
data-oriented-programming copied to clipboard
https://github.com/viebel/data-oriented-programming/blob/07bf95b4f4bedeb5cd9cdaa04e59b96efdf2727b/src/chapter05/consistency.js#L5 if(havePathInCommon(previousToCurrent, previousToNext)) { return _.merge(current, previousToNext); } In the book, the explanation for the code above is: "In order to determine whether there is a conflict, we calculate two...
Hi, besides the code in this library, is there some open source project or larger example for DOP that's not implemented in Clojure?
the `havePathInCommon` function of chapter 5 uses lodash `intersection` which will always return `false`. https://github.com/viebel/data-oriented-programming/blob/07bf95b4f4bedeb5cd9cdaa04e59b96efdf2727b/src/chapter05/paths-in-common.js#L1-L4 `havePathInCommon` uses `informationPaths` which returns an array of the paths, where each path is an...
this is my currently failing approach. It looks promising, but still does not show the correct value. Still work in progress, do not merge.