April 2018
Intermediate to advanced
396 pages
11h 8m
English
Overusing duck typing can negatively affect code quality and application performance. You should not avoid creating common interfaces in favor of duck typing. It should be really only used in cases when we cannot implement a common interface between different types. The argument about limiting the use of duck typing is further enhanced by the fact that, under the hood, they use reflection, which is slower and negatively impacts performance.
Read now
Unlock full access