• 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.
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