|
|
|
|
|
by kazinator
3266 days ago
|
|
If every operation can have any type arguments applied to it and does something sensible with no compiler or run-time error ... good luck debugging, surely. What happens with OOP? Every class has to understand how to "bark", not only the dog class? If any class can somehow "bark" without throwing an exception, that may not be in alignment with the programmer's intent, or promote the furtherance of his or her goals in any way. For intance, the intent may be that the programmer wanted to ask the local variable dog to "bark", but misspelled it as ndog and the integer which counts the number of dogs was asked to bark instead. There is much value in identifying the problem that an integer doesn't bark. |
|
[1] https://www.cs.utexas.edu/users/boyer/acl.pdf