3 ms·
The best code is no code; the second best code is high quality third party code; the third best code is your code; the worst code is low quality third party cod
by marcosdumay 5y ago
The best code is no code; the second best code is high quality third party code; the third best code is your code; the worst code is low quality third party code, and that one is by a huge margin.
- goodpoint 5y agoNicely put. Yet I would add that your code is preferable to third party code if you can solve the same problem with 10x less SLOCs or complexity.
- marcosdumay 5y agoTo change a completely misunderstood citation into a new one that nobody will understand either: > Unnecessary flexibility is the source of all evil Just as with the original "premature", the word "unnecessary"is doing a lot of heavy lifting here, and there's no way to state that rule that saves people from thinking before applying. Some times those 10x SLOC are really important and will save you; most times it's just a 90% waste ratio multiplied over your previous one.