data-centric-computing / dcic-public

Repository for (for now) filing bug reports about DCIC.
19 stars 2 forks source link

[DCIC]: Sudden introduction of 'fold' in Ch 17.3 #9

Closed debanjan16 closed 2 years ago

debanjan16 commented 2 years ago

Contact Details

senguptadebanjan16@gmail.com

What's your suggestion?

I understand that students in CS19 comes with the knowledge of 'fold' from HtDP and the Algorithms section is not used by CS111. So this discontinuity may not to apparent to the author's eyes. But if I consider DCIC as a standalone book then the readers are suddenly introduced to a HoF called 'fold' while discussing Streams in chapter 17.3.

In Processing Lists chapter accumulator type functions are covered which is chapter 10. No mention of 'fold' HoF there although map and filter are mentioned many times. Similarly other HoFs are also not covered. This transition may look like a sharp jump for the reader, considering DCIC is a standalone book for first time programmers/CS students.

kfisler commented 2 years ago

fixed. will appear in next release