_______ __ _______ | | |.---.-..----.| |--..-----..----. | | |.-----..--.--.--..-----. | || _ || __|| < | -__|| _| | || -__|| | | ||__ --| |___|___||___._||____||__|__||_____||__| |__|____||_____||________||_____| on Gopher (inofficial) URI Visit Hacker News on the Web COMMENT PAGE FOR: URI Behavioral Programming (2018) hkkevinchow wrote 7 hours 43 min ago: Isnât GitHub copilot a behavioral programming tool? foolswisdom wrote 7 hours 45 min ago: 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? _pi wrote 7 hours 34 min ago: 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. shhsshs wrote 11 hours 22 min ago: 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. SebastianKra wrote 1 day ago: 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. DIR <- back to front page