miniblog.
← Back to all posts
Nov 19, 2024 at 04:52
9
Some delightful examples of good compiler error messages in the latest Gleam release:
Context aware compilation | Gleam programming language
gleam.run/news/context-aware-compilation/
Wilfred Hughes
9 Likes
Animo
@Animo@mastodon.social
Boarders
@boarders@mathstodon.xyz
Elendol
@Elendol@hachyderm.io
Jack Rusher
@jack@berlin.social
jewelpit
@jewelpit@dice.camp
Lesley Lai
@lesley@mastodon.gamedev.place
veer66
@veer66@vivaldi.net
Veera
@veera@recurse.social
Bruce Mitchener
@waywardmonkeys@mastodon.social
Related Posts
Dec 27, 2015 at 10:11
Good compiler error messages are hard. LtU:
https://lambda-the-ultimate.org/node/5280#comment-90836
if two parts of a function use different types, what do you highlight?
Wilfred Hughes
Shared words: good, compiler, error, messages Score: 60.5
Nov 20, 2015 at 08:25
Elm's compiler has some incredibly good error messages:
https://elm-lang.org/blog/compilers-as-assistants
(contextual, relevant and written for mere mortals!)
news/compilers-as-assistants
A delightful language with friendly error messages, great performance, small assets, and no runtime exceptions.
Wilfred Hughes
Shared words: good, compiler, error, messages Score: 60.5
Sep 20, 2017 at 11:51
Impressively, Elm collects bad error message examples to find ways of improving them!
https://github.com/elm-lang/error-message-catalog/issues
Elm errors are already v good!
elm/error-message-catalog
A catalog of broken Elm programs / data to improve error messages - elm/error-message-catalog
Wilfred Hughes
Shared words: examples, good, error, messages Score: 59.7