3 ms·
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 h
by the_gipsy 3y 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.
- tazjin 3y agoWe're literally in the comment thread of a new stringly typed thing being introduced to the stdlib!