Let us talk about error messages

Seb via Digitalmars-d digitalmars-d at puremagic.com
Wed Aug 10 12:32:19 PDT 2016


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 people bother with D (the 
other things is still the license of DMD) in this recent slant 
[1].

small rant (from current discussions at Phobos): we should also 
remove all the silent assert(0) in Phobos that come without any 
error message, but the segfault.
That's a very cheap way to improve the UX.

[1] 
https://www.slant.co/topics/5984/~productivity-enhancing-well-designed-and-concise-rather-than-just-popular-or-time-tested-programming-la


More information about the Digitalmars-d mailing list