The Beauty and Joy of Coding with a Single Variable
summary
Live-coding session showing how to apply the Functional Core, Imperative Shell pattern to isolate business logic in a purely functional, asynchronous, unit-testable core while handling all side effects in a single mutable variable in the imperative shell. The code examples are written in Snap! (the block-based visual programming language related to Scratch) and focus on using that single mutable variable to manage effects and reduce scattered mutable state and hidden side effects.
AI-written summary · about
