4 ms·
1. Read the code 2. Don't. Encapsulate and put yourself in a position to swap out the implementation at will. (Maybe you'll swap out an unnecessary dependency
by xtajv 2mo ago
1. Read the code
2. Don't. Encapsulate and put yourself in a position to swap out the implementation at will.
(Maybe you'll swap out an unnecessary dependency for a simple helper function of your own).
- Bratmon 2mo agoBut if I followed that advice here, I would say "Obviously I don't need a library to multiply numbers" and miss the decades of research and optimization.