3 ms·
The article compares multiple different programming mechanisms for implementing a solution to a single problem. But, we can not really draw many general conclus
by galaxyLogic 4y ago
The article compares multiple different programming mechanisms for implementing a solution to a single problem. But, we can not really draw many general conclusions based on a single example problem.
For some problems inheritance is better, for others composition, or traits, or if-statements.
If we are to compare 5 different programming approaches, I think we should compare them all for solving at least 5 different problems. Of course we need to start somewhere so this article is a great start.