5. gayle in/gaylemcdgayle 5
z
Gayle Laakmann McDowell
What
is NOT
expected
To know the answers
To solve immediately
To code perfectly
(It’snice.Itjustdoesn’t
happen*.)
*Okayfine.Ithappenedonce,in2000+hiringpackets.
6. gayle in/gaylemcdgayle 6
z
Gayle Laakmann McDowell
What
IS
expected
Be excitedabout hard problems
Drive!
Keep trying when stuck
More than just “correct”
Pay attention to me!
Write real code
Showmehowyouthink!
21. gayle in/gaylemcdgayle 21Gayle Laakmann McDowell
step
Testing
FIRST Analyze
What’s it doing? Why?
Anything that looks weird?
Errorhot spots
THEN use test cases
Small test cases
Edge cases
Biggertest cases
BUT…
Test code, notalgorithm
Think as you test
Think before you fix