|
|
|
|
|
by laumars
2957 days ago
|
|
Firstly, good documentation will include example code anyway. That's part of the course of documenting. Secondly, exams code can get outdated just as much as human documentation. I've lost count of the number of times I've gone to compile example code only to find it doesn't work because of API changes or such like. I've also had example code crash my whole machine because it effectively created a fork bomb (thanks Microsoft for that one!) So the arguement of example code Vs documentation isn't a mutually exclusive one. |
|