3 ms·
If the service doesn't send you back a string it doesn't send you back a string. End of story. You're continuously trying to complicate the issue by insisting t
by Arnavion 4y ago
If the service doesn't send you back a string it doesn't send you back a string. End of story. You're continuously trying to complicate the issue by insisting that they're sending strings and that the client needs to guess their encoding. They are not and it does not.
- tyingq 4y agoEncoding was one example. But "string" is language dependent aside from encoding. Strong typing doesn't solve the inherent issue.
- teddyh 4y agoStrong typing never “solved” anything, except that is forces you to see the problem and solve it yourself, explicitly, instead of relying on weak typing to fudge the types for you.