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

Sure it can - here's an example of an error message added to F# which suggests valid names for Record labels when you've typed an incorrect one: https://github.com/Microsoft/visualfsharp/pull/1102

Don't confuse correlation (some functional programming languages out there don't have good error messages) with causation (functional programming languages don't excel at good error messages).



Elm is also said to be a good example.

Haven't gotten around to really test it after hello world though but what I read was somewhat convincing.


I think Evan is really winning people over with his interest and focus on that, as I alluded to in my other comment.

http://elm-lang.org/blog/compilers-as-assistants


Elm has the best error messages I have seen by far in any language.




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

Search: