efficent code

Pakistan
October 7, 2007 2:14pm CST
how u improve ur skills for efficent code
1 person likes this
6 responses
@psprite (111)
• China
29 Jun 08
study more techniques and more rules and then coding and coding.....
@mnsrwt123 (2057)
• India
1 Apr 08
Well, its simple, just try to make your own application and tweak with different codings and you will find it easy to learn... Keep posting!!!
@ram_cv (16513)
• India
22 Oct 07
There is a theory which says: 1) First write code that works. 2) Then write code that works correctly. 3) Then write code that works efficiently. Simply put this is the way to improve the efficiency. Start by writing the code that fulfills your functionality. Once you are done with it identify the bugs and fix them. Once you are done with that do something known as profiling. You can use tools for that or else simply log the times taken by each function in the code. Once you find certain functions that are time consuming, you can start at look ways to optimize them. With time you will start directly using these techniques when your write the code first time around and that is when you start writing efficient code straight away. Cheers! Ram
@ninzine (22)
• Sweden
20 Oct 07
Coding efficiently or write efficient code?
• China
25 Nov 07
while you write more, you will be more efficent, just as skill comes from practice.
• Hong Kong
28 Nov 07
Build personal code libraries and load them to whatever code projects you're writing at. Read how to use other people's code libraries too. Some of them might be very useful. One library can save you hundred thousands lines of codes.