Behavioral Programming (2018)

by sktrdieon 3/28/24, 10:38 AMwith 5 comments
by shhsshson 3/29/24, 4:43 PM

The example in the EnforcePlayerTurns section is kind of buggy. Make an attempt to place two Xs in a row in different cells, then place an O in a third cell - the second X you attempted to place will magically show up at the same time as that O.

by SebastianKraon 3/28/24, 6:02 PM

I'm not convinced. The main selling point is that developers don't have to know the previous code to make changes... complete with a precedence system.

Apart from seeing very little explanation why this would work, I can't help but think of a Website, where instead of replacing existing classes, we add more and more with higher specificity.

by foolswisdomon 3/29/24, 8:20 PM

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?

by hkkevinchowon 3/29/24, 8:22 PM

Isn’t GitHub copilot a behavioral programming tool?