small medium large xlarge

Pragmatic Scala, new May PragPub magazine

May 06, 2015

Today is a historic day in engineering: in 1889, the Eiffel tower was officially opened to the public in Paris. But then in 1937 the German zeppelin Hindenburg exploded while docking in New Jersey. We build, we learn from experience; we try again.

In software, we are learning to move toward functional programming. But your previous object-oriented experience is still valuable. Scala combines the power of OO and functional programming, and Pragmatic Scala shows you how to work effectively with both. Now in beta from

And a new month brings a new issue of PragPub magazine. Read on for details on algortihms, mazes, parsers, and more fun.

Have at it.

Pragmatic Scala: Create Expressive, Concise, and Scalable Applications

This thorough introduction to Scala will get you coding in this powerful language right away. You'll start from the familiar ground of Java and, with easy-to-follow examples, you'll learn how to create highly concise and expressive applications with Scala. Find out when and how to mix both imperative and functional style, and how to use parallel collections and Akka actors to create high-performance concurrent applications that effectively use multicore processors.

Scala has evolved since the first edition of this book, and Pragmatic Scala is a significant update. We've revised each chapter, and added three new chapters and six new sections to explore the new features in Scala. Learn how to:

  • Safely manage concurrency with parallel collections, futures, and Akka actors
  • Create expressive readable code with value classes and improved implicit conversions
  • Create strings from data with no sweat using string interpolation
  • Create domain-specific languages with parser combinators
  • Optimize your recursions with tail call optimization

Whether you're interested in creating concise, robust single-threaded applications or highly expressive, thread-safe concurrent programs, this book has you covered.

Now in beta from

May PragPub Magazine

This May issue of PragPub has an undertone of algorithms and a smattering of fun. Mazes, a Sudoku/Anagram puzzle, a story, a bit of history, some clever code.

Jamis Buck shows you how to create mazes. Why mazes? The underlying algorithms are entertaining to research and implement, and the results are pleasing to look at, but the bankable value comes from the play and experimentation, which increase your experience and grow your intuition.

Michael Bevilacqua-Linn explores the development process while working through the steps of writing a parser in an engaging two-part series starting this month. It’s the story of product development actually told as a story. Along the way, you’ll follow the refinement of an algorithm.

Knowing where you came from can help you avoid past mistakes and plot pathways to the future. This month we begin a two-issue series focusing on two genuine revolutionaries. Ted Nelson and Douglas Engelbart both plotted paths to a better future, both promoted revolutionary change, and both their revolutions remain unfinished.

And there’s more: Rothman and Lester share six lessons about programming in the real world that you don’t learn in school. Marcus Blankenship writes about coming to grips with what your team really needs from you when you step up to management. We’ve got another short example of Swift code. John Shade examines the examined life. Antonio Cangiano has all the new tech books. There’s that Sudoku/Anagram puzzle. And a list of algorithms you really ought to know.

Upcoming Author Appearances

  • 2015-05-07 Chris Adamson,
    CocoaConf Portland
  • 2015-05-07 Rachel Davies,
    Agile Manchester, UK
  • 2015-05-08 Johanna Rothman,
    Testing & Quality Leadership Summit, Orlando, FL
  • 2015-05-08 Chris Adamson,
    CocoaConf Portland
  • 2015-05-09 Chris Adamson,
    CocoaConf Portland
  • 2015-05-14 Seb Rose,
    SDD, London
  • 2015-05-29 Jeffrey R. Kelley,
    Self.conference, Detroit, MI
  • Did You Know?

    We publish books across a range of technologies for folks at different levels of abilities, all the way from novice to expert. If you haven't browsed all of our titles recently, come take a look:

    Agile Practices • Android, iPhone, and Mobile Programming • Career
    Development • Cool Things for Smart People • DIY & Hardware •
    For Beginners • Gaming • Java and JVM Languages • Mac, iPhone,
    and iPad Programming • Pragmatic exPress • Ruby and Rails •
    Testing, Design, and Cloud Computing • Tools, Frameworks, Languages
    • Web 2.0+

    Come check out all our categories at

    Don't Get Left Out

    Are your friends jealous that you get these spiffy email newsletters and they don't? Clue them in that all they need to do is create an account on (email address and password is all it takes) and select the checkbox to receive newsletters.

    Are you following us on Twitter and/or Facebook? Here's where you can find us and keep up with the latest news and commentary, and occasional discounts:

    Tell your friends! Tweet this

    Follow us on Twitter: pragprog</a>, <a href="">pragpub, Andy PragmaticAndy</a> and Dave <a href="">pragdave.

    Coming Soon:

    • Hello, Android, 4th Edition in print
    • Real-World Kanban: Do Less, Accomplish More with Lean Thinking, in beta
    • Developing for Apple Watch: Your App on Their Wrists
    • Deliver Audacious Web Apps with Ember 2

    Recently Released:

    Thanks for your continued support,

    Dave & Andy
    The Pragmatic Programmers

    Books • eBooks • PragPub Magazine • Audiobooks and Screencasts