2 ms·
> Lots of deliberately bad C code. Using uninitialized variables, etc. You do realize he's doing that for illustrative purposes, right?
by tpush 7y ago
> Lots of deliberately bad C code. Using uninitialized variables, etc.
You do realize he's doing that for illustrative purposes, right?
- torstenvl 7y agoYes. As I said - it was deliberate. That does not excuse it. By the very fact that this is a book, it presumes that the intended audience consists of visual learners. When working with visual learners, if something is erroneous, it is imperative that it be explicitly and visually called out as such. In linguistics pedagogy, for instance, this is done by marking any ungrammatical construct or example not found in natural language with an asterisk every time. https://www.ling.upenn.edu/~kroch/courses/lx101/assign96.html https://www.ling.upenn.edu/~kroch/courses/lx101/assign96.htm... https://linguistics.stackexchange.com/questions/338/meaning-of-star-asterisk-in-linguistics https://linguistics.stackexchange.com/questions/338/meaning-... https://www.departments.bucknell.edu/linguistics/lectures/asterisk.html https://www.departments.bucknell.edu/linguistics/lectures/as... This book does not do this. It freely uses deliberately bad code in example programs. This can only result in confusion on the part of learners. It is therefore inconsistent with pedagogical best practices. I would not recommend it.