top | item 44661601

(no title)

coffeeindex | 7 months ago

Seems a bit strange to posit fault tolerance as an alternative to a type system. Personally, I view type systems as a bonus to DX more than something strictly designed to prevent errors

discuss

order

pmarreck|7 months ago

It's in line with the erlang philosophy of letting things crash trivially and restart instantly. Due to the universal immutability, starting a new process from a given state in Erlang/Elixir is nearly instantaneous and has extremely little overhead as they are not OS threads, they are BEAM VM threads.

Very opposite the Go model, btw.

tossandthrow|7 months ago

Letting you wrong computations crash does not make them right.

never_inline|7 months ago

To restart and fail again? How does that help with logic errors caused by wrong type objects?