2 ms·
In typed languages this is pretty often circumvented by choosing the wrong type. Java (even the language library) is literally littered with API's which take a
by chopin 11y ago
In typed languages this is pretty often circumvented by choosing the wrong type. Java (even the language library) is literally littered with API's which take a String where the parameter does not have the semantics of a string (a bunch of characters with no meaning). The worst offenders take a String, support only a very limited subset and offer no explanation which are valid ones.