|
July 26, 2017
Explore functional programming and discover new ways of thinking about code. You know you need to master functional programming, but learning one functional language is only the start. Come learn all about it in Functional Programming, A PragPub Anthology: Exploring Clojure, Elixir, Haskell, Scala, and Swift, now in print and shipping from pragprog.com/book/ppanth.
Come and get it today!
/\ndy
Functional Programming: A PragPub Anthology: Exploring Clojure, Elixir, Haskell, Scala, and Swift
Functional programming is on the rise because it lets you write simpler, cleaner code, and its emphasis on immutability makes it ideal for maximizing the benefits of multiple cores and distributed solutions. So far nobody’s invented the perfect functional language—each has its unique strengths. In Functional Programming: A PragPub Anthology, you’ll investigate the philosophies, tools, and idioms of five different functional programming languages.
See how Swift, the development language for iOS, encourages you to build highly scalable apps using functional techniques like map and reduce. Discover how Scala allows you to transition gently but deeply into functional programming without losing the benefits of the JVM, while with Lisp-based Clojure, you can plunge fully into the functional style. Learn about advanced functional concepts in Haskell, a pure functional language making powerful use of the type system with type inference and type classes. And see how functional programming is becoming more elegant and friendly with Elixir, a new functional language built on the powerful Erlang base.
The industry has been embracing functional programming more and more, driven by the need for concurrency and parallelism. This collection of articles will lead you to mastering the functional approach to problem solving. So put on your explorer’s hat and prepare to be surprised. The goal of exploration is always discovery.
Five Questions for the Editor of Functional Programming: A PragPub Anthology
Q: This book is titled “Functional Programming: A PragPub Anthology.” First question: What’s a PragPub?
A: PragPub is a monthly magazine by and for software developers that I created in 2009 for the Pragmatic Programmers. It began as a showcase for the authors of their books, and has evolved into an independent publication. But we still have a close relationship with the Pragmatic Programmers, and we still feature many of their authors. This book, for example, includes chapters by Stuart Halloway, Venkat Subramaniam, and Dave Thomas, all of whom have written well-received books on the subjects they write about in this book.
Q: OK, how about the Anthology part? This is a collection of articles from the magazine?
A: It’s that, but I tried to put together a book that makes sense on its own. The chapters here are based on a selection from over a thousand articles we’ve published in the course of the past eight years. The idea was to look at one topic from a variety of perspectives, and with each perspective to have some introductory chapters and some more advanced chapters. Once I settled on a topic, I had a lot of articles on this topic to choose from, and I left out some really good ones because they didn’t fit the purpose of this particular book. Maybe they’ll be in the next one.
Q: And that one topic is functional programming?
A: Yes, and the different perspectives on it are its implementation in five different languages: Clojure, Elixir, Haskell, Scala, and Swift. Each language embraces functional programming differently, implements functional capabilities in its own way, and encourages different styles of functional programming. It’s a matter of emphasis. I thought it would be useful to see these different perspectives on functional programming side by side.
Q: So readers can see which approach they prefer?
A: That, and because there’s virtue in seeing the same idea from different perspectives. You get a more rounded mental model of the concept. Take the avoidance of mutable state. That’s considered a defining feature of functional programming, but you see it differently if you think of it as a useful technique to use in certain circumstances as opposed to the default way to write functions. Seeing it from both those perspectives, I’m convinced, leads to a richer understanding.
Q: You mentioned the next book. Will there be more PragPub Anthologies?
A: The market willing. I have two more in the planning stages. Functional programming was a pretty obvious place to start. It’s a hot topic for programming books right now and it’s a particular interest of mine. We’ll probably return to it with a different approach, because there’s definitely a good solid book’s worth of functional programming material in the magazine. But the next one will probably be something quite different. And of course we keep publishing the magazine. The key article that the whole book coalesces around may be one we publish next month, or the next.
Now in print and shipping from pragprog.com/book/ppanth.
Upcoming Author Appearances2017-08-02 Alex Miller,
KCDC, Kansas City, MO
2017-08-03 Alex Miller,
KCDC, Kansas City, MO
2017-08-03 VM Brasseur,
PyCon AU
2017-08-08 Johanna Rothman,
Agile 2017
2017-08-08 Johanna Rothman,
Agile 2017
2017-08-08 Janie Clayton,
That Conference, Wisconsin Dells, WI
2017-08-13 Jeff Kelley,
360|iDev, Denver, CO
2017-08-13 Janie Clayton,
360iDev, Denver, CO
2017-08-28 VM Brasseur,
/dev/world/2017
2017-09-11 Johanna Rothman,
Agile Prague
2017-09-11 Johanna Rothman,
Agile Prague
2017-09-11 VM Brasseur,
Linux Foundation Open Source Summit North America 2017
2017-09-22 Rachel Davies,
Agile Greece Summit, Athens
2017-09-28 Alex Miller,
Strange Loop, St. Louis, MO
2017-10-01 VM Brasseur,
Velocity NYC
Did You Know?
You can synch your ebooks amongst your devices via Dropbox, including updates! Just login to your account on pragprog.com, edit your profile, and connect your dropbox account. See our FAQ for details.
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 pragprog.com (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, @pragpub, Andy Hunt @PragmaticAndy.
Thanks for your continued support,
Andy Hunt
Publisher, Pragmatic Bookshelf
Books • eBooks • PragPub Magazine • Audiobooks and Screencasts PragProg.com
Manage your subscription using your account, or permanently unsubscribe here. Sent by the Pragmatic Programmers, LLC. • 9650 Strickland Rd Ste 103-255• Raleigh NC 27615
|