Functional Programming: A PragPub Anthology: Exploring Clojure, Elixir, Haskell, Scala, and Swift

買這商品的人也買了...

商品描述

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. In this book, through articles drawn from PragPub magazine and articles written specifically for this book, you'll explore functional thinking and functional style and idioms across languages. 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.

Contributing authors: Rich Hickey, Stuart Halloway, Aaron Bedra, Michael Bevilacqua-Linn, Venkat Subramaniam, Paul Callaghan, Jose Valim, Dave Thomas, Natasha Murashev, Tony Hillerson, Josh Chisholm, and Bruce Tate.

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.

What You Need:

Familiarity with one or more programming languages.

商品描述(中文翻譯)

探索函數式編程,並發現關於程式碼思考的新方式。你知道你需要掌握函數式編程,但學習一種函數式語言只是開始。在這本書中,通過從《PragPub》雜誌中選取的文章以及專為本書撰寫的文章,你將探索跨語言的函數式思維、風格和慣用語。在專家指導下,你將發現Clojure、Elixir、Haskell、Scala和Swift的獨特優勢和方法,並了解哪種最適合你的需求。

貢獻作者:Rich Hickey、Stuart Halloway、Aaron Bedra、Michael Bevilacqua-Linn、Venkat Subramaniam、Paul Callaghan、Jose Valim、Dave Thomas、Natasha Murashev、Tony Hillerson、Josh Chisholm和Bruce Tate。

函數式編程因其讓你編寫更簡單、更乾淨的程式碼,並且強調不可變性,使其成為最大化多核心和分散解決方案效益的理想選擇,因此越來越受到重視。到目前為止,還沒有人發明出完美的函數式語言-每種語言都有其獨特的優勢。在《Functional Programming: A PragPub Anthology》中,你將探討五種不同函數式編程語言的哲學、工具和慣用語。

看看Swift,這是iOS的開發語言,它鼓勵你使用像map和reduce這樣的函數式技術來構建高度可擴展的應用程式。發現Scala如何讓你輕鬆而深入地過渡到函數式編程,同時不失去JVM的好處,而基於Lisp的Clojure則讓你完全投入函數式風格。在Haskell中學習關於高級函數式概念,它是一種純函數式語言,利用類型推斷和類型類別強大地使用類型系統。還可以看到函數式編程如何在Elixir中變得更加優雅和友好,這是一種基於強大的Erlang基礎的新型函數式語言。由於需要並行性和平行性,該行業越來越多地接受函數式編程。這些文章將引導你掌握解決問題的函數式方法。所以戴上你的探險者帽子,準備好被驚艷到。探索的目標始終是發現。

你需要的東西:熟悉一種或多種程式語言。