3 ms·
More recently I've started to consider abstraction an optimization of code readability/understandability. Following the rules of optimization, it should only b
by yazaddaruvala 8y ago
More recently I've started to consider abstraction an optimization of code readability/understandability.
Following the rules of optimization, it should only be done when absolutely needed.
1. Do not abstract.
2. Do not abstract.
3. Quantitative measurement of the benefit, then abstract.
This has worked out really well for me over the last 3 years.
- j88439h84 8y agoYou're saying that adding abstraction increases readability, but that you want to avoid doing that until step 3?