Found in 2 comments on Hacker News
jlarocco · 2018-12-24 · Original thread
Believe it or not, there's a book along those lines, but using BASIC:

They just don't make CS books like that any more.

Only loosely related but for lovers of weird programming texts, there's a bizarre gem called "Elementary Basic - Learning To Program Your Computer In Basic With Sherlock Holmes" by Henry Ledgard and Andrew Singer.

Fresh book recommendations delivered straight to your inbox every Thursday.