Wednesday, August 29, 2007

perginya seorang pejuang lagi

Ari nih secara unofficial, guru yahaya of my department telah mengumumkan untuk bergerak ke tempat lain tak lama lagi. Hmm boleh agak tapi tak sangka ari nih diumumkan kepada semua orang. Best of luck to him. Tapi seronoknya keje shah alam. Kalo aku pun most probably aku akan amik tindakan yang sama dengan guru yahaya.

Anyway i found this interesting link, http://www.realsoftwaredevelopment.com/2007/08/speed-up-your-s.html . Yang bermaksud (ikut pengalaman aku)
  1. 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.
  2. 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??
  3. 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.
  4. put source control in place : yang nih ok. Since from the 1st day our team has been using subversion.
  5. 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??
  6. use code coverage tools : still don have the opportunity and time to explore this things.
  7. 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("")
  8. 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.
  9. take advantage of frameworks : hmm webwork, spring, hibernate.
  10. ensure proper testing and quality test : haha tuh gunannya ader sa...kalo tak kitaorang nih syok sendiri dengan automated test kitaorang
Skang nih pun aku tengah baca agile java crafting code with test driven development. Best laa buku dia memang sesuai utk orang yang blur cam aku. Dia ajar piece by piece about TDD and how to implement it in java. Aku dapat rasakan in the future, i will adopt TDD as my main practices in software development.

No comments: