|
|
|
|
|
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. |
|