News for hackers. Stuff that matters.
Re:Caramel: an Erlang back end for OCaml by elcritch on Sunday September 27, 2020 @01:11PM (#24608165)
Running Dialyxer in VSCode usually tells me if I pass in the incorrect arguments. Sometimes it’s a chore figuring out precisely what isn’t working given the complex typing dialyzer uses (essentially unions). In F# I spent a lot of time trying to make the compiler happy. Some odd invariant that the error didn’t explain well. So there are trade offs both ways. I like the Elixir way, just enough typing to help catch dumb mistakes but dynamic enough that I don’t have to convince the compiler to do something.

There are no comments on this comment yet.