I decided to extract the core of the Gleam compiler into a library
I did it in 3 sessions over 4 days, moved 105 files, edited a couple thousand lines, and the first time it type checked it just worked.
Types rock.
Conversation
Love types for this. It’s like an incredible superpower that I feel lost without!
1
3
I'm too lazy to do this stuff manually any more
1
Yes! Remember going to do Rails dev after doing Rust for years and being just so lost. I can kind of see why so many devs gave up Java in Melbourne, but even going back to that was pretty freeing (wrt. keeping track of stuff in my head).
1
1
Rather sad that the industry embraced Ruby as a solution to the bloat of Java code, and not something like OCaml with strong support for modularity and FP… think of where we would be now… hopefully less microsystems for defining interface boundaries! 🥺
I hear Gleam is pretty cool as well


