Pages

Thursday, November 30, 2006

rubber ducking

Gw sedikit bosan dan tidak bisa berkonsentrasi hari ini. Ini disebabkan karena partner in crime gw lagi cuti minggu ini, jadinya gw ngehandle sebagian kerjaan dia. Well yesterday was a fiasco, my job got interrupted every time someone needs help. Or the boss doesn't understand what causes the bug. Hari yang melelahkan. Berpindah set pola pikir terus menerus menyebabkan bagian besar otak melakukan voting dan menuntut a change of pace.

Jadinya hari ini gw perkecil goal kerjaan gw, dan mulai browsing2 sambil bekerja.

Well i found a few interesting things to light up my day, and this one worth mentioning :D

Lu pernah mengalami lu duduk didepan komputer selama ber-jam-jam. melihat sebagian kode program, dan berpikir what the hell is wrong with this piece of code !!!. Akhirnya lu nyerah, mencari orang terdekat, menarik-narik dia untuk melihat layar monitor lu, kemudian mulai menjelaskan bagaimana cara code program itu bekerja. Waktu berlalu beberapa saat, dan lu berhenti menjelaskan, terdiam beberapa saat... dan sambil memukul jidat.. "Oh itu dia penyebabnya".

Well there's another way to do this, and i quote
In fact, [Dave] Thomas said, you can even resort to "rubber-ducking." "I don't know why it works, but it works. You put the rubber duck on top of your monitor. Then, when you're stuck on something, you start explaining what the code does--aloud--to the duck." And before you've finished the explanation, the solution comes to you. You smack your forehead, and politely thank the duck, he said to general laughter.
Tentu saja orang-orang sekitar lu mungkin berpikir lu agak gila melihat lu ngomong sendiri dan berterimakasih kepada sang bebek *Damn if you do it, i wanna be there to watch, that would make my day*. Tetapi pilih mana dengan gak berhasil menyelesaikan masalah itu selama ber-jam-jam. Its a tip worth trying :D

here's the link if you interested reading the whole thing http://www.sdmagazine.com/documents/s=7151/sdmcnf0204e/sdmcnf0204e.htm

No comments: