|
Author(s): Martin Erwig
title: Once Upon an Algorithm: How Stories Explain Computing Publisher: MIT Press Year: 2017, 2022 ISBN: 9780262036634 (hbk); 9780262545297 (pbk); 9780262341707 (ebk) Pages: 332 pp. Price (tentative): USD 29.95 (hbk); USD 22.95 (pbk); USD 24.50 (ebk) (net) URL: mitpress.mit.edu/9780262341707/once-upon- Short description: This is an introduction to computer science using many analogies with dayly life and with fairy tales, fiction stories, movies, etc. Published: zbMATH Open Zbl 06854566 MSC main category: 00 MSC category: 00-01 Other MSC categories: 00A08 97P99 |
|
This is an introduction to computer science. The relevant concepts are introduced using analogies with an ordinary working day and with fiction stories. Finding the way back home by dropping stones in the Hansel and Gretel fairy tail is the algorithm in the opening section; Sherlock Holmes uses data structures in the Hound of Baskerville just like Indiana Jones does during his adventures. Recursion and loops are illustrated with the movies Groundhog Day and Back to the future; and types and abstraction are illustrated by Harry Potter stories.
The title and the previous enumeration may suggest a superficial introduction, but the discussion is rather in-depth with a tedious discussion of almost philosophical nature about what an algorithm is; the difference between its execution and computation; the meaning of a language and abstraction; etc.
Low level implementation details are avoided but still some (rather advanced) concepts are introduced although in a less technical way: different sorting algorithms, complexity and the P = NP problem, program verification, elements of logic programming, type checking, etc.
Much attention goes to outlining the analogies between the technical computer science concepts and our organic intuitive life of every day. This is unlike a classical well-structured set of lecture notes that sometimes give a dull and overly technical outline. To recover the coherent structure of such lecture notes, it is explained in the introduction how the different chapters link together, many cross references are given within the chapters, and an appendix contains glossaries of technical terms.
Reviewer: A. Bultheel (KU Leuven)
© April 3, 2023