4 ms·
I don't follow. Writing a parser doesn't require generics. I've written hundreds of parsers. You can even use a generator like protoc to provide you read/write
by xyzzy_plugh 5y ago
I don't follow. Writing a parser doesn't require generics. I've written hundreds of parsers. You can even use a generator like protoc to provide you read/write code that returns/uses concrete, static types.
What on earth does dealing with untrusted inputs have to do with anything?
- Ericson2314 5y agoI wasn't primary talking about generics, I would responding to > You may as well have written: > > How do I disable static typing for this statically typed language? and so just talking about parsing and static type checking. As it turns out, generics do help immensely if one wants to use so-called "parser combinators".