Show HN: A coloring book of data structures and algorithms
523 pointsI'm making a coloring book of data structures and algorithms for programmers and students. So far I have a prototype page for a sorting algorithm (albeit a rather simple one).
Here the Selection Sort coloring pages you can print.
https://coderscoloringbook.com/selectionsort
And here is how I colored mine.
https://coderscoloringbook.com/selectionsortcolored
A coloring book is not quite enough to teach algorithms on its own, but I really get a lot from visual reinforcement of what I learn from books/lectures.
Do you think having coloring pages like this could be a helpful addition to the usual studying approach of textbooks, lectures and online coding practice?
Or is it just a fun little break from coding without too much educational value?
Comments (105) 28 threads
Show all comments
Showing thread 1 of 28
I love this trend of using comics to describe technical ideas (which, as far as I can tell, started in earnest with Julia Evans). I think it's a great way to remove some of the scaryness-factor that more serious tomes (like Cormen et al) are associated to. I don't think the niche is nearly reaching oversaturation. I think there is plenty of room for these kinds of books in this space. Personally, however, I probably wouldn't get much value from a book on the very basic algorithms, like selection sort etc. What I really would like is a good description of the algorithms and data structures that are described in more advanced courses, like Fenwick trees or the stuff Erik Demaine talks about in his more advanced presentations.
If you're not aiming for this to be a book for people who're accustomed to the basics, however, and more a book for people who maybe know how to code but who identify themselves more as practitioners than as theorists (meaning they're intimidated or bored by algorithms) then my main reaction is that the thing you've shown so far seems to (1) have a great visual appeal, but (2) suffers in that it does not provide implementations of the algorithms in actual code. If I think back to myself as a beginner, what I probably would have needed help with looking at your thing would have been the translation from the example and little pseudo-code on the left to actual code.
Julia deserves a ton of credit, but I think it's also important to remember whytheluckystiff's "Poignant Guide to Ruby" [1]. Going even farther back, Forrest M Mims' electronics books [2], which I remember being sold in Radio Shacks, get much of their fame and familiarity from being hand-written.
[1]: https://poignant.guide/ [2]: https://www.amazon.com/Getting-Started-Electronics-Forrest-M...
[0] https://www.amazon.com/Cartoon-Guide-Calculus/dp/0061689092
Continue this thread — 1 reply
[0] https://www.amazon.com/Cartoon-Guide-Calculus/dp/0061689092
"McCloud" is congruent with "McLuhan", as "Understanding Comics" is congruent with "Understanding Media".
https://en.wikipedia.org/wiki/Understanding_Comics
There are two versions of page 111, with an apology (and an apology for the apology) if you thought the first was offensive.
There is also Illustrating Basic (1977) and Illustrating FORTRAN (1982) by Donald Alcock from Cambridge University Press. [edited to fix publishing dates]
Grokking Algorithms by Aditya Bhargava is something I skim for fun occasionally and this seems like a great complement!
Continue this thread — 3 replies
Continue this thread — 1 more reply
Continue this thread — 5 more replies