Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Arguably Rust got good error messages by learning from Elm: https://elm-lang.org/news/compiler-errors-for-humans


Elm is acknowledged as being the initial inspiration for focusing on diagnostics early on, but Rust got good error messages through elbow grease and focused attention over a long period of time.

People getting used to good errors and demanding more, is part of the virtuous circle that keeps them high quality.

Making good looking diagnostics requires UX work, but making good diagnostics requires a flexible compiler architecture and a lot of effort, nothing more, nothing less.


Rust's eye towards errors predates Elm entirely.





Consider applying for YC's Summer 2026 batch! Applications are open till May 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: