2 lines
357 B
Plaintext
2 lines
357 B
Plaintext
![]() |
Needing to cast from an <code>interface</code> to a concrete type indicates that something is wrong with the abstractions in use, likely that something is missing from the <code>interface</code>. Instead of casting to a discrete type, the missing functionality should be added to the <code>interface</code>. Otherwise there is a risk of runtime exceptions.
|