Nov. 8th, 2001

109: (Default)
http://xprogramming.com/xpmag/FussAboutDocumentation.htm
-----
Would it be better if we kept the stories in a database or Word documents or Excel? No, it wouldn't. Keeping the stories on inexpensive cards makes it easy to change them and replace them when someone gets a better idea.

Would it be better if we used project management software to manage the schedule? No, it wouldn't. Doing the scheduling with cards makes it no big deal to move things around and change the order of things.

Would it be better if we used a CASE tool to lay out the design? No, it wouldn't. The design is more readily expressed, changed, and understood when done less formally, with CRC or on the whiteboard or a bar napkin.

Would it be better if we used Javadoc to print out program documentation? No, it wouldn't. Focus on keeping the code clean and clear will pay off far more than commenting it and printing the comments. Working in pairs will communicate the details of the code far more effectively than Javadoc ever can.
-----
How come I disagree with all this?
109: (Default)
PS. читаю сейчас http://xprogramming.com/xpmag/expUnitTestsat100.htm и не знаю, плакать, или смеяться:

"Suppose it only took a tenth of a second to compile, link, and test your entire system. OK, I admit I'm extreme, but even I know we can't do that. But go with me here -- let's imagine what would happen if we could. And while we're at it, let's imagine that our tests are comprehensive: they test everything that needs to work. When our tests run, we're sure the system is right."

(обратите внимание на "let's imagine")

"The really wise [XP] teams write a test first, then a little code, then another test, and so on. Teams are reporting 100% coverage using this technique alone, which is quite good in a lot of environments."

(теперь, значица, "let's imagine" уже нет - типа 100% coverage у XP teams сам получается, стоит лишь назваться XP team)

"Your team could gain these advantages too. Just write automated unit tests and keep them at 100%. We're sure that if you do, you'll see improvement right away."

(и при этом ну совершенно не говорится, как же добиться этих 100% coverage, уж не говоря о том, сколько это будет стоить и занимать времени. "tenth of a second", ага!)

Profile

109: (Default)
109

March 2019

S M T W T F S
     12
3456789
101112131415 16
17181920212223
24252627282930
31      

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags