Behavioral Programming in Clojure

Behavioral Programming is a relatively new programming paradigm that excels at isolating and composing behaviors in event driven system. It is unrelated to behavior driven development. Behavioral programming was invented by David Harel, who also invented statecharts in 1987. It uses independent units of behavior, called bthreads, which are coordinated in a pub-sub protocol. How does it work? A behavioral program will first collect the bids from all of its bthreads. A bid can do three things: ...

2024-09-24 · 5 min · 913 words · Thomas Cothran