01 // PROJECT AT A GLANCE
C POOL — DAY 06
CRe-coding the C string library, function by function.
A whole day rewriting the tools every other language hands you for free: copy, compare, search, uppercase. The point is not the result but the journey: afterwards you know exactly what happens when you call a function on a string, and why some of them are dangerous.
Reimplementing strcpy, strncpy, strcmp, strncmp, strstr, revstr and the case functions, backed by dedicated unit tests.
PRIMARYC
DELIVERYTEAM RECORD
VERIFICATIONCriterion
SOURCEINSPECTOR READY
03 // KEY OUTCOMES
- Understanding from the inside why strncpy is a treacherous function
- First unit tests written, in the very first week
BEYOND THE BRIEF
- Four Criterion test files written when the day did not yet require them
04 // SOURCE TREE
READING SOURCE…