News for hackers. Stuff that matters.
Re:Caramel: an Erlang back end for OCaml by toast0 on Sunday September 27, 2020 @04:33PM (#24609938)
> How does one avoid type errors in Erlang applications?

When I write Erlang, I'm not necessarily concerned with avoiding errors. The philosophy of the system is that errors will occur, and the focus is on making sure errors do not compound into system failure (supervision tree helps with this), that they're easy to see (appropriate logging of crashes), and that it's easy to deploy fixes (hotloading).

I'm sure there are many ways to avoid some errors in production, but more focus is on responding to errors than on preventing them. At least in my experience.

There are no comments on this comment yet.