Skip to content

Comment on Behavioral Programming (2018)

Comments

This seems to be like state machines, aside from

As new ideas and requirements are discovered, we can forbid certain things from happening by simply adding new b-threads; without having to dig and figure out how earlier-written code works!

Which I'm not really sure is a step up from state machines?

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.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.