- Paperback: 284 pages
- Publisher: Pragmatic Bookshelf; 1 edition (July 30, 2017)
- Language: English
- ISBN-10: 1680502336
- ISBN-13: 978-1680502336
- Product Dimensions: 7.5 x 0.5 x 9.2 inches
- Shipping Weight: 1.2 pounds (View shipping rates and policies)
- Average Customer Review: 6 customer reviews
- Amazon Best Sellers Rank: #3,036,138 in Books (See Top 100 in Books)
Enter your mobile number or email address below and we'll send you a link to download the free Kindle App. Then you can start reading Kindle books on your smartphone, tablet, or computer - no Kindle device required.
To get the free app, enter your mobile phone number.
Functional Programming: A PragPub Anthology: Exploring Clojure, Elixir, Haskell, Scala, and Swift 1st Edition
Use the Amazon App to scan ISBNs and compare prices.
Fulfillment by Amazon (FBA) is a service we offer sellers that lets them store their products in Amazon's fulfillment centers, and we directly pack, ship, and provide customer service for these products. Something we hope you'll especially enjoy: FBA items qualify for FREE Shipping and Amazon Prime.
If you're a seller, Fulfillment by Amazon can help you increase your sales. We invite you to learn more about Fulfillment by Amazon .
Customers who viewed this item also viewed
Customers who bought this item also bought
From the Publisher
By Michael Swaine
This book shows how five different languages approach the paradigm of functional programming. The chapters were written by experts in the different languages and first appeared as articles in PragPub magazine. After publishing nearly one hundred issues of the magazine, it became clear that we were in possession of a wealth of information about functional programming, and we decided that some of the best articles would make an interesting book.
Functional programming is one of the major paradigms of programming. In functional programming, we approach computation as the evaluation of mathematical functions, and as much as possible we avoid changing state and mutable data.
Certain concepts and issues are sure to come up in any discussion of functional programming. Recursion. Lazy evaluation. Referential transparency. Eliminating side effects. Functions as first-class objects. Higher-level functions. Currying. Immutable data. Type systems. Pattern matching. The authors touch on all these concepts, looking at them from the perspective of different languages.
But functional programming is not an all-or-none thing. It is perfectly reasonable to write imperative code that uses functional techniques and practices and data structures. It is fine to mix and match styles, and some programming languages are designed as hybrids, allowing you to use the style that best fits your needs of the moment. Scala, for example, or Mathematica, or Swift. Our authors explore these different approaches in this book, and you can decide which works best for you.
We explore functional programming in five languages in this book, with articles by experts in each language. If this encourages you to look for a definitive guide to some of the languages, we can recommend Venkat Subramaniam’s Pragmatic Scala [Sub15], Stuart Halloway and Aaron Bedra’s Programming Clojure (2nd edition) [HB12], Dave Thomas’s Programming Elixir 1.3 [Tho16], Chris Eidhof, Florian Kugler, and Wouter Swiersta’s Functional Swift, and Miran Lipovaca’s Learn You a Haskell for Great Good!: A Beginner’s Guide [Lip11]. What you’ll find here is an exploration of an important programming paradigm in five languages, written by a team of experts. That’s what we set out to create.
I hope you will agree that the result is an interesting book.
About the Author
Michael Swaine has been a technology writer and editor since before the birth of the personal computer. He chronicled that birth in Fire in the Valley, the seminal history of the personal computer, which was selected by Business 2.0 magazine as one of the 100 best business books of all time and is the basis for the movie Pirates of Silicon Valley, which was nominated for five Emmys. He lived close to the flame as one of the founding editors of InfoWorld magazine in the early 1980s, where he daily talked with the programmers and engineers who were inventing the world we live in today.
Many followers of technology know Mike from his long association with the much-loved programmer's magazine Dr. Dobb's Journal, where he served as editor-in-chief, associate publisher, and editor-at-large and authored the decades-spanning columns Programming Paradigms and Swaine's Flames. While serving as editor-at-large he also found time to write for or edit numerous publications in the United States, Germany, and Italy, including the San Francisco Examiner, Upside, Farmer's Almanac, MacUser, UnixReview, Business Software, Southern Exposure (an Oregon lifestyle magazine he co-created), and the Whole Earth Catalog, as well as writing and serving as a model for a comic strip and co-owning a gourmet restaurant, organic farm, and artisan bakery.
Today Mike is the editor of PragPub, a monthly magazine for programmers that he created in 2009, and continues to write and edit books on technology. Also he creates puzzles.
Author interviews, book reviews, editors picks, and more. Read it now
Top customer reviews
There was a problem filtering reviews right now. Please try again later.
I am not an expert coder and, in fact, do little coding myself, but I need to be aware of and understand current trends in the environment.
This book explores the functional programming paradigm within the context of five languages: Scala, Clojure, Elixir, Haskell and Swift.
Of the five, I was passingly familiar with Scala and Swift.
The 23 articles cover a lot of real estate including topics I really don’t get. Fortunately all the articles are well-written and well-edited, so even a moderately knowledgeable programmer can geek out the essential points of the article, even when the particulars aren’t fully understood.
Since I lack a full comprehension of the subject matter, I can only provide my impression that a more experienced person with an interest in functional programming will find this book rewarding.
This book hit the nail on the head. It is a broad introduction to a range of programming languages and where the advantages of a functional approach may lie. It also does a good job of getting across the differences between pure functional languages and hybrid languages, and that functional programming is not an all or nothing affair, but rather something that lies on a spectrum.
If you are like me and looking to update your programming skills, and maybe make the programming parts of your life a bit smoother and more enjoyable, I have not come across a better place to start than this collection of articles that really reads like a well-edited book.
Stopped reading after this definition of higher-order functions: "A higher-order function is a function that can be passed into, or returned from, another function".