Quote:
I was also told once that it may be more efficient to code everything in a single routine rather than using many subroutines/functions with extra arguments. You guys said otherwise and I'm happy with that, since optimizing code is not just finding ways to use more efficient functions, but also writing the code cleverly.
I assume that it is better to call one routine 10 times rather than write it 10 times within the same project...
Hmmmm. I wonder about that person's background. I would strongly disagree with that. If efficient covers all aspects of writing code (including debugging), then it is an absurd statement.