4 ms·
One of my finals during my masters degree required us to implement a 2048 engine using OCaml. I had a bit of practice with OCaml but this specific exercise real
by thiht 2y ago
One of my finals during my masters degree required us to implement a 2048 engine using OCaml. I had a bit of practice with OCaml but this specific exercise really made something click in me. It made me understand how to leverage a type system to represent a state, and make impossible states impossible to represent. I don’t use OCaml anymore but this exercise has definitely made me a better developer. That’s in part thanks to OCaml, and in part thanks to 2048 so thank you for inventing the game :)