think like a programmer

Think Like a Programmer: Now in Japanese!

The Japanese translation of Think Like a Programmer is now available, published by ASCII Media Works. It's really cool to see my work in translation, unfortunately, unlike the German edition, I don't even know a smattering of Japanese.

Japanese TLAP (small)

According to Google Translate, the title says:

Let's forge problem-solving skills

Book concept of programmer the body gets more interesting!

For some reason I think that translation may be inaccurate. I'm also curious about the last chapter, in which I bring all of the concepts together in an example program that cheats at the childhood game Hangman. It's occurred to me that it would be very difficult to play Hangman in a language where character symbols tend to represent whole words rather than component sounds. It appears that the Japanese edition is describing the Hangman game as played in English. I hope that Japanese readers can follow that discussion without too much trouble. If you speak Japanese and pick up the book, please let me know how you like it!


Share this

More Think Like a Programmer Videos

I had some audio problems with the first videos I posted on YouTube. They played perfectly on my end, but after whatever conversion performed by the YouTube uploader, the audio would drift more and more out of sync. Super annoying, especially since I was using "recommended" settings for my video prior to upload. I went through dozens of combinations of file formats, video and audio codecs, sample rate, and so on, until I found one that would play the same after uploading. unfortunately it's not one natively supported by the video editor I am using, so there's an extra step. But at least the videos play correctly now.

On the good news front, I have three new videos for helping people solve programming problems. The first two deal with a problem from a programming contest--these contests are great sources of problem-solving exercises.

The other one is about using spreadsheet designs as a way to develop programming solutions and problem-solving ability in general. Sounds odd, I know. But it works. Check it out:



Share this

Think Like a Programmer: Additional Resources

Video Series

I have an ever-growing series of videos on YouTube. These cover some of the material in the book in a different way, so even if you have read the book, you should check these out.

Luhn Algorithm

Some readers may not competely understand the Luhn algorithm from the descripton in the book; here's an expanded explation.

Additional Explanation of the Luhn Algorithm.doc

Instructor's Exercise Guide

If you are using, or are considering using, Think Like a Programmer in a class or lab, please contact me ( for a copy of the instructor's exercise guide. In this guide, I offer suggestions for coaching students through the problem solving of most of the exercises -- without giving away too much, so that the student is still the one solving the problem.

Although this guide contains no answers to exercises, it does offer a lot of hints that could shortcut the problem-solving process, so please do not contact me for the guide if you are a student in a course using my text; ask your instructor or lab assistant for help, and encourage them to ask me for the guide if they don't have it already.

Share this

Two More Think Like a Programmer Videos

Okay, I think I may be getting that hang of this, although making these videos still takes a lot longer than it probably should. Anyway, episode 3 is about the "blank screen," trying to get off the ground with a new problem.

Episode 4 is about recursion. Note that this is based on chapter 6 in the book, which you can read for free over at the book's page at No Starch Press.


Share this

Think Like a Programmer: The Movie

Ok, not quite. But I did decide to make a few videos explaining what the book is about and offer a few tips to get people started who are struggling with the problem-solving part of programming.

This first one is the intro:

And the second one demonstrates a concept fromthe first chapter, that solving puzzles is a lot like solving problems with programs:

If you have any suggestions for future videos or questions about the book, head over here for my contact info.


Share this


Subscribe to RSS - think like a programmer