mumuntu's Journal
[Most Recent Entries]
[Calendar View]
[Friends View]
Saturday, February 23rd, 2008
Time |
Event |
11:07p |
Java.sun.com (JSC): Heinz Kabutz, a fellow Java Champion, when asked about the biggest mistakes of Java developers, pointed to the failure to unit test. He said, "At conferences, I ask, 'How many of you have unit tests for your code?' Almost no one raises their hands -- and these are experienced professionals." Your reaction?
Horstmann: Ugh. I would not have raised my hand either. I perform an occasional unit test after I've encountered a failure that I don't want to have recur, but I rarely write the tests first. If so many experienced developers don't write unit tests, what does that say? Maybe they would be even better developers if they followed Heinz's advice. Maybe they don't make many mistakes that unit tests would catch because they're already experienced. The truth is probably somewhere in between. [ ...] Вот и со мной та же фигня обычно. Пробовал как-то test first - получается медленно и скучно. Если вообще получается, а то в большинстве приложений тесты можно написать только на ядро. Also, меня тут коллега сфотографировал в офисе: ( ... ) Current Music: Изгнание Киевлян - Восстание Офисных Крыс |
|