Hacker News new | ask | show | jobs
by the_gipsy 971 days ago
You are right, stdlib doesn't have much of stringly-typing.

However the core language way of dealing with enums for example is extremely weak. It's common to have a typed enum on a struct. When parsing the struct, random string (or whatever the alias is) values sneak in and the only thing you can do is validate.

1 comments

We're literally in the comment thread of a new stringly typed thing being introduced to the stdlib!