Friday, March 2, 2007

aghhh code takleh nak test???

its been bugging me for a while. Its seems some of my code its no easy to test. In other words to be used as part of automated test. Its really a bad news for me........is this the sign of high coupling???

Its really easy to code ( ok laa aku tipu takde laa senang sangat hahaha ). But what i can see from my senior jedi, the problem come when designing the class/object. To achieve so called LOW COUPLING , HIGH COHESION....

I've been coding for 6 month. At that time i more concentrating on solving client problem. As long the code work, for me i'm doing a great job. It seems i was wrong from the beginning. I should program based on the interfaces and not the implementations. Question anyone??

1 comment:

Anonymous said...

aku tahu kenapa..



ko nak kena byk belajar lagiii.itu la asyik makan oreo jer.
heh.