Lurker News
I'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

tw101012 replies#
I'm writing this off-the-cuff so don't read too much into it if you don't want to.

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.

frwntfwtr1 reply#
Thanks so much for the feedback! I think you're right that something like this would be a better learning tool for someone who is new to the fundamentals, rather than experienced software professionals. And I've heard from a few people now about adding code/pseudocode to match the visuals. I'll have to give that a try in the next iteration!
chdej#
I prefer the visual representation. I find algorithms very hard to read as code, but I'm fascinated by the concepts.
munificent6 replies#
> I love this trend of using comics to describe technical ideas (which, as far as I can tell, started in earnest with Julia Evans).

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...

fish_fan#
I remember this going back at least to The Little Lisper, though they more accompany the text than serve as explanations themselves. The aesthetic certainly leaks into the lessons.
fapjacks1 reply#
Forrest Mims III taught me electronics as a teenager. Also Larry Gonick really rounded out my rusty calculus knowledge with his "Cartoon Guide to Calculus" [0] This is just the product page, no stupid referral on the link.

[0] https://www.amazon.com/Cartoon-Guide-Calculus/dp/0061689092

humanrebar1 reply#
I was about to post Gonick's guide to physics. Fantastic series.

Continue this thread — 1 reply

warvair#
Also, "Starting Forth" by Leo Brodie is the earliest computer-related version of teaching with comics I can remember reading. It came out around 1981 and you can find an online version (including most of the original illustrations) here: https://www.forth.com/starting-forth/0-starting-forth/
cyphar#
There's also the SELinux Colouring Book by Dan Walsh and Mairin Duffy.
mattstonebraker3 replies#
To expand on this from the perspective of a student, I primarily study mathematics but will be pursing a double in math and cs, and I actually enjoy very rigorous (what some people may call dry or intimidating) textbooks in both fields because I am generally quite pedantic. However, that being said, I would love a book like this not necessarily as a main source of the actual information I am learning, but rather as a fun visual aid or activity because I like coloring and actually do it rather often. Further, I think active engagement could provide other kinds of benefits. As the parent comment noted, pictures themselves may not teach you the algorithm in its entirety from scratch, but in interview situations, I can see the possibility of getting tripped up on things that you maybe "kind of" know the answer to, and having vivid diagrams or models in mind that you can jump to (e.g. these pictures) may help with things like recall. I actually find things like this to be immensely helpful in every class, from using mnemonics for memorizing Hiragana, Katakana, and Kanji to breaking down complex proofs of math theorems into discrete memorable steps to give me an intuition for why and how things work, etc. I think this could both be a great supplemental tool for certain kinds of students as well as a very fun book to color in! I will certainly buy one if this idea comes to fruition.
frwntfwtr#
I agree on all counts. Thanks for the support!
frwntfwtr#
Oh, forgot to mention if you want me to notify you when the book comes out, I put together a simple mailing list at coderscoloringbook.com. Thanks
infinite8s2 replies#
I think it started earlier (around 2008) with Scott McCloud doing a comic describing the architecture of the (then newly introduced) Chrome browser, especially the innovation of running each tab in a separate process - http://www.scottmccloud.com/googlechrome/
moongu#
glad to learn about him! i appreciate the artistically inclined visually explaining technical things. i also love randall munroe (xkcd author)'s thing explainer.
jonjacky1 reply#
Roger Kaufman's FORTRAN Coloring Book was published by MIT press in 1978.
szc#
Yes! Touted on the cover as the "1st & last edition".

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]

joshdance1 reply#
Do you have a link to Julia's stuff?
jberry931 reply#
When it comes to comics, No Starch Press (https://www.nostarch.com/catalog/manga) has manga/comics that describes advanced ideas in a fun way. A Manga Guide to Algorithms and Data Structures sounds like a great addition to the collection
frwntfwtr2 replies#
Actually the founder of No Starch reached out to me about publishing this book. Will definitely be following up with him =)
cbzehner3 replies#
I'll buy it. Please do! I really like the idea of being able to share this with people just getting started who find algorithms intimidating (we're not all math double majors :P). It probably can't serve as a primary source of material but is a great supplement.

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