Anyway i found this interesting link, http://www.realsoftwaredevelopment.com/2007/08/speed-up-your-s.html . Yang bermaksud (ikut pengalaman aku)
- learn the keyboard shortcut : kalo eclipse tuh memang betul laa. Malas betul nak gerak tangan aku ke mouse semata2 nak amik option run automated test or nak build ker. Selalu gak bukak eclipse shortcut cheat sheet.
- remove unnecessary dependencies : kalo kes aku maybe removed any unwanted code and packages. Aku perasan aku compile webapp project amik masa dekat 46 seconds using ant. Lama kan??
- setup a continuous integration build environment : yang nih aku tak paham sangat. Tapi rasanya everytime commit source code pada svn, there should be a mechanism yang akan build and run automated test. Just to ensure the build is successful and more bugs free. Aku kadang2 terkena gak bila update jer bila compile nanti ader laa benda pelik terjadi.
- put source control in place : yang nih ok. Since from the 1st day our team has been using subversion.
- write unit testing : dulu aku rasa malas giler nak write benda alah nih. Until last week bila aku automated test aku detect problem bila aku try ubah code asal. Then like that, aku cam dapat hidayah cakap "perghh mantap laa". Paham kan??
- use code coverage tools : still don have the opportunity and time to explore this things.
- become one with the debugger : the only way i use to debug program is to read the log file from log4j and sometimes using the old way...system.out.println("")
- write reusable code : what i can say is "low coupling, high cohesion". More interface when needed with tons of different ways to implement it. Actually no 5 is highly relaetd to this.
- take advantage of frameworks : hmm webwork, spring, hibernate.
- ensure proper testing and quality test : haha tuh gunannya ader sa...kalo tak kitaorang nih syok sendiri dengan automated test kitaorang
No comments:
Post a Comment