👩💻 Join our community of thousands of amazing developers!
Original video Solving Problems the Clojure Way - Rafal Dittwald - YouTube 1 2 3 4 5 mixing concerns Bad thing to do when object oriented programming. "you're mixing concerns here" fp minimise state Derive values Instead of extra state. For example, in tic-tac-toe. Derive what turn it is from the state of the grid, instead of keep track of the turn. Copy [data] instead of mutate in-place Instead of changing data, copy the data structure....