| ▲ | bad_haircut72 11 days ago | |
you succumb to the fallacy that because the compiler let it through, the code wont have any error - the erlang mentality says that the compiler/CPU/everything has errors, how do you handle errors in the general sense | ||
| ▲ | pdpi 11 days ago | parent [-] | |
I'm not succumbing to any such fallacy. Compile-time checks don't obviate the need for runtime error handling, and I love the robustness of Erlang's runtime error handling. However, that doesn't change the fact that we should be catching and handling errors as early as possible, and there's a whole bunch of logic errors that you can easily catch at compile time. | ||