4 ms·
I'd go for the decorator approach for its explicitness. It reads like plain English without having a deeper understanding of the concepts. Also, it does not pol
by luoc 5y ago
I'd go for the decorator approach for its explicitness. It reads like plain English without having a deeper understanding of the concepts. Also, it does not pollute the implementors namespace.
Even if one argues for the naming convention solution, one has to admit that it causes confusion for most people stumbling over it for the first time.