Functional Programming: A PragPub Anthology

My functional programming book is now on sale!

Explore functional thinking and functional style and idioms across different languages, through these articles drawn from PragPub magazine, plus articles written specifically for this book. Led by expert guides, you’ll discover the distinct strengths and approaches of Clojure, Elixir, Haskell, Scala, and Swift and learn which best suits your needs.

Get it here.

Chris Crawford vs. the Dragon

In the July issue of PragPub:

Chris Crawford was at one point the best-known computer game developer on the planet. That was back when he was training game developers at Atari under Alan Kay, launching and running the Game Developers Conference, editing and writing much of The Journal of Computer Game Design, writing The Art of Computer Game Design, and collecting royalties on best-selling games like Balance of Power.

Then one day he gave a famous speech that ended with his drawing a sword and running out of the room shouting “Charge!” and never returning. He was off to fight the dragon. From that point on he dedicated himself to the quixotic quest to create a new kind of computer game, a new approach that didn’t glorify combat and small-muscle skills, that was built around realistic human emotions and interactions.

He’s still at it, and he recently released a tool that he thinks might be a key component of that new kind of software. It’s an editor for character interactions. It’s fun to play with, and it suggests interesting applications. Chris sees his new kind of game as more than entertainment: it’s interactive storytelling, it’s sales training, it’s a new category of software. Or it will be, if he manages to slay that dragon. This month we report on his quest and this new tool for editing interactions.

Also in this fat July issue of PragPub are an entertaining and rich essay on floating-point gotchas by Jim Bonang, the final wrap-up of Mark Pearl’s series on Mob Programming, the latest in Venkat Subramaniam’s series on refactoring to functional style in Java 8 (this time focusing on the Execute Around Method pattern), and Erica Sadun on new capabilities and tricks in Swift.

Of course columnists Marcus Blankenship, Johanna Rothman, Antonio Cangiano, and John Shade contribute to the issue, your editor shares some tech news, and there’s a bit of advice on writing from Derek Sivers.

I hope you enjoy it!