3 ms·
Why didn't they add this before? Lack of time to develop it, or no requests from developers wanting it? I find the latter hard to believe, and the former to be
by sgt 15y ago
Why didn't they add this before? Lack of time to develop it, or no requests from developers wanting it? I find the latter hard to believe, and the former to be a more likely cause.
- koenigdavidmj 15y agoSlightly paraphrased quote that I read somewhere: writing a compiler is easy. Writing a compiler with good error messages is the hard part.
- jlouis 15y agoBecause it isn't that useful in Erlang, so the want to have it has not been that big. Most (proper) Erlang programs happen to be a lot of small functions and you know what function caused the error and the error type to boot in addition. This information is often enough to quickly figure out what is wrong. The trouble arises when you have a large function you did not break up yet because then finding the culprit is much harder. While I like the change, there is a risk associated with it. Namely that people will be less inclined to break up their code.