Wednesday, May 6, 2009

Code Complete 3, Etc

1. Pragmatic Programmer (Hunt and Thamas 2000)
2. Jon Bentley, Programming Pearls, 2nd ed. (Bentley 2000)
3. Kent Beck, Exteme Programming Explained: Embrace Change (Beck 2000)
4. Steve Maguire, Writing Solid Code - Microsoft's Techniques for Developing Bug-Free C Software (maguire 1993)
5. The Practice of Programming, by Brian Kernighan and Rob Pike (Kernighan and Pike 1999)

Code Complete 2, Daily Build, Smoke Test, and Tools

Daily Build, Smoke Test, and Tools
In your project,
1. "do you have 'daily build' system?"
And 2. "do you use 'Smoke Test'?"

Tools
1. www.sdmagazine.com/jolts
2. Hunt, Andrew and David Thomas. The Pragmatic Programmer. Boston. MA: Addison-Wesley, 2000
3. Vaughn-Nichols, Steven. "Building Better Software with Better Tools." IEEE Computer, September 2003, pp. 12.14
4. Glass, Robert L. Software Conflict: Essays on the Art and Science of Software Engineering. Englewood Cliffs, NJ: Yourdon Press, 1991
5. Jones, Capers, Estimating Software Coast. New York, NY: McGraw-Hill, 1998
Boehm, Barry, et al. Software Cost Estimation with Costs II. Reading, MA: Addison-Wesley, 2000

Monday, May 4, 2009

Wish list of books

Wish list of books.
How many books can I read in this year?
The number is the wish order of reading.

4. The Psychology of Computer Programming,
by Gerald M. Weinberg (프로그래밍 심리학)
1. The Practice of Programming,
by Brian W. Kernighan and Rob Pike. (프로그래밍 수련법)
Programming Challenges,
by Steven S. Skiena, Miguel Revilla (프로그래머 두뇌 단련 퍼즐 44제)
2. The Pragmatic Programmer,
by Andrew Hunt, David Thomas (실용주의 프로그래머)
My Job Went to India: 52 Ways to Save Your Job,
by Chad Fowler (사랑하지 않으면 떠나라)
3. 겸손한 개발자가 만든 거만한 소프트웨어,
by
5. ship it,
by Jared Richardson, Will Gwaltney, Jr
0. 디테일의 힘,
by 왕중추

Monday, April 13, 2009

In the pipe five by five

- One by one,
- Two by two,
- Five by five.

The famous saying is

1. "In the pipe five by five." you can hear this word in the game "Starcraft". but the original word in the movie "Aliens". "We're in the pipe, five by five."

2. In the bible, we can find "Noah brought all animals into the ark two by two"

Anything else?

Sunday, April 12, 2009

Code Complete 1, in the floating point

Thin book is a great, wonderful, and fantastic.
How can he write this book, is he a genious?

In the floating point operation,

double dwNormal = 1.0;
double dwSum = 0;

int i = 0;
for (i=0; i<10; i++)
{
dwSum += 0.1;
TRACE("dwSum: %1.20f\n", dwSum);
}

if (dwSum == dwNormal)
{
TRACE("Numbers are the Same.");
}
else
{
TRACE("Numbers are Differnet.");
}

Can you guess the result?
dwSum == dwNormal is True or False?
In normal case, the result is False.
dwSum = 0.99999999999999989
In normal case, floating point precision, usually be represented to only 7 ot 15 digits of accuracy.

dwSum: 0.10000000000000001000
dwSum: 0.20000000000000001000
dwSum: 0.30000000000000004000
dwSum: 0.40000000000000002000
dwSum: 0.50000000000000000000
dwSum: 0.59999999999999998000
dwSum: 0.69999999999999996000
dwSum: 0.79999999999999993000
dwSum: 0.89999999999999991000
dwSum: 0.99999999999999989000

C code refactoring

refactoring & restructuring

refactoring is same input and output of function arguments
just change into the function's code

restructuring is same input and output of function argument or NOT.
In the project middle term, refactoring and/or restructuring
End of project, restructuring is NOT recommended, restructuring is recommended.