Re:Phoenix 1.7 is View-less
by Dowwie on Friday December 30, 2022 @06:53PM
(#34191614)
Typespec is a nightmare to work with. The error messages are arbitrary and at times misleading. I use it because it is better than nothing, but it has much room for improvement.
[ Parent
| on HN ]
I think I've encountered a couple of times where I've gotten obscure errors, and I agree that error messaging needs to be improved. On the other hand, every time it's pointed out an error, it was right. And IMHO union type-checking alone puts it above most popular static-typed languages out there.
The other problem with specs is that they can become out of sync with function signatures.