On Thu, Mar 4, 2010 at 7:43 AM, shamir shakir <[email protected]> wrote:
> Today I found a new (or probably) bad thing. I use to call fuction for > > anything I need. But It takes valuable time taking value and returning > something. > :( > > > > Now , I just want to know is this a good practice to work and utilize > function calling? Or I'm just gonna work with main? > > <sarcasm> You're right! Don't ever use functions, they just waste precious time. Also, loops and local variables also just waste precious time and memory, how about getting rid of those too? In fact, why are you using C? It's a waste of resources. Why not just go with assembler, or even better, straight machine code? </sarcasm> But seriously, the ability to break up a program into functions far outweighs the minor overhead of doing a function call. -- Tamas Marki [Non-text portions of this message have been removed]
