3 ms·
But every less line of code I need to write saves me time. How much time did you take to find the code, read the documentation for it to make sure it does exac
by userbinator 11y ago
But every less line of code I need to write saves me time.
How much time did you take to find the code, read the documentation for it to make sure it does exactly what you need, did you budget time for the future when it doesn't work exactly as you wanted and you'll have to either find another module or fix it yourself, etc.?
If it's something nontrivial (e.g. SSL/TLS), then it certainly makes sense to reuse. But if it's trivial, then the overhead can be far greater than the savings.
Of course, the definition of "trivial" varies greatly depending on the skill level of the programmer.