3 ms·
Yes, I may have accidentally spilled, but I prefer ML modules to typeclasses.
by 5pl1n73r 1y ago
Yes, I may have accidentally spilled, but I prefer ML modules to typeclasses.
- eru 1y agoI like ML-style modules in principle, but in practice I like the ergonomics of typeclasses. But while I did nearly half of my career in either OCaml or Haskell, I did all of my OCaml programming and most of my Haskell programming before the recent surge of really good autocompletion systems / AI; and I notice how much they help with Rust. So the ergonomics of ML-style modules might be perfectly acceptable now, when you have an eager assistant filling in the busy work for obvious cases. Not sure.