2 ms·
I have the opposite philosophy. The ideal function is only called once. If it is called more than once, I have a "call diamond" instead of a "tree" and this i
by enriquto 7y ago
I have the opposite philosophy. The ideal function is only called once. If it is called more than once, I have a "call diamond" instead of a "tree" and this is a code smell.
- raxxorrax 7y agoHarsh constraint. Probably difficult to come up with new sorting algorithms or substitutes for basic arithmetic functions after a while.
- enriquto 7y agoI mean for functions that are called in the same context. Obviously external and well-abstracted functions can be called several times.