beach

How I came to write the Scala Cookbook

The funny thing about writing the Scala Cookbook is that it started as a whim. I was just about to leave for a vacation at the beach, and right before I turned off the computer, a thought flashed in my mind, “I should contact the people at O’Reilly about writing a cookbook for Scala.” I then had a doubt that they would actually do it, but I applied the “What the heck” rule — i.e., “What the heck, what do I have to lose?” — and sent the email.

I dug around the internet for a few minutes, found the correct O’Reilly email address, sent them a message, turned off the computer, and drove to the beach. While I was at the beach the publisher wrote and said, “Love it, send me a full proposal!”

So if you’re thinking about doing something, but are afraid or uncertain about doing it ... apply the “What the heck” rule, and give it a shot. :)

Writing at the beach

I’ve made some good progress on my new book on Scala and functional programming recently. For whatever reason I had been having writer’s block, so I came out to the beach for a little while to help clear out my brain, and today in particular was very productive. For a while now I’ve known how the book would end, but I was having a problem getting from where I was to the end, and I got through most of that today.

In a slightly related note, here’s a blurry photo of a military ship out on the ocean.

Entrance to the beach in Talkeetna, Alaska

If you ever hear about a beach in Talkeetna, Alaska, this is the entrance to it. At some point I’ll add a map to the beach here, but in short, if you’re walking through town, keep walking to the end of the town, and go through a narrow entrance. You’ll then start walking on sand and rocks, and if you walk through a narrow walkway/entrance, you’ll come to the beach in just a few hundred yards.