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

Great of you to hop in. Just want to say that while I can typically navigate error messages in TS, I do occasionally have to do some googling on some error messages (specifically ones around generics that have a super type that apparently doesn’t necessarily agree with a subtype or something — still don’t quite get it), and it’s nice to see that the TS team recognizes the obtuseness of these messages is an issue.


TS#### error messages was a brilliant idea to make them more ~googleable~ bingable at least.


Isn't that pretty standard for compiler error messages? The C# compiler uses CS\d{4} for example. MSVC, MSBuild, various other build tools (at least on the Microsoft side) all use similar patterns with different prefixes.

That being said, it seems like Clang or GCC don't do that at all, which perplexes me a bit. Perhaps it doesn't matter much when error messages are never localized.


I guess TypeScript and C# having Anders Hejlsberg in common probably helps with things like that?




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

Search: