Re: Let us talk about error messages

2016-08-11 Thread Walter Bright via Digitalmars-d
On 8/11/2016 11:30 AM, Wyatt wrote: Some people will bitch about the verbosity, but that sort of thing is GREAT for people just getting into the language. I agree too much verbosity can be verbal diarrhea to a regular user of the compiler, but would be helpful to a new user. I expect a switch

Re: Let us talk about error messages

2016-08-11 Thread Wyatt via Digitalmars-d
On Wednesday, 10 August 2016 at 18:28:00 UTC, qznc wrote: Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D? I'm pretty fond of some of the stuff Elm is doing, too. Like so:

Re: Let us talk about error messages

2016-08-11 Thread Kagamin via Digitalmars-d
On Wednesday, 10 August 2016 at 19:20:00 UTC, Walter Bright wrote: On 8/10/2016 11:28 AM, qznc wrote: Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D? There are some good ideas there. One thing I've idly thought

Re: Let us talk about error messages

2016-08-10 Thread jmh530 via Digitalmars-d
On Wednesday, 10 August 2016 at 18:28:00 UTC, qznc wrote: Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D? Looks pretty. I remember some discussion about cleaning up error messages when templates don't match.

Re: Let us talk about error messages

2016-08-10 Thread Seb via Digitalmars-d
On Wednesday, 10 August 2016 at 18:28:00 UTC, qznc wrote: Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D? Yes, please. Hard to understand/confusing error messages were ranked among the three top things that

Re: Let us talk about error messages

2016-08-10 Thread Walter Bright via Digitalmars-d
On 8/10/2016 11:28 AM, qznc wrote: Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D? There are some good ideas there. One thing I've idly thought about is to include a clickable link to the relevant section in the

Let us talk about error messages

2016-08-10 Thread qznc via Digitalmars-d
Rust changed their error message format: https://blog.rust-lang.org/2016/08/10/Shape-of-errors-to-come.html Inspiration for D?