Erlang's let-it-crash philosophy - applicable elsewhere?

后端 未结 7 2103
感情败类
感情败类 2020-12-12 12:39

Erlang\'s (or Joe Armstrong\'s?) advice NOT to use defensive programming and to let processes crash (rather than pollute your code with needless gu

相关标签:
7条回答
  • 2020-12-12 13:23

    IMHO Some developers handle/wrap checked exceptions with code which add little value. It is often simpler to allow a method to throw the original exception unless you are going to handle it and add some value.

    0 讨论(0)
提交回复
热议问题