3 ms·
To answer your first question, the right size of the method is that which a typcial maintainer of the code has no problems holding within his head. The "one th
by DenisM 18y ago
To answer your first question, the right size of the method is that which a typcial maintainer of the code has no problems holding within his head.
The "one thing" is a one-statement decription of the method such that the maintaner does not need to look inside the second go around undersand the place where it is being invoked.
As to your second question, I have no answer. It is a bunch of voodoo right now and I have to wonder which body could, even in theory, produce a scientificaly valid proof of efficiency (or lack thereof)?