Comment

Comment by _pi

Behavioral programming is just creating a specific type of rules engine which is very close to a state machine.

This example is also really complex in reality because it inherently requries muxing of temporal events, which is really difficult for most average industry programmers.

With event driven systems what I've seen is that your average programmer is comfortable and likes 1:1 maps but cannot handle any kind of reduce functionality esp over a temporal range.

Typically adoption of something like this would be easier if the event represented a change in the state of the whole board rather than a change in the state of a cell.

TBH this is somewhat reinventing Observables for React.

parent _pi 2 years ago

No comments yet

Be the first to share your thoughts.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton