Programming Elixir 1.3: Functional |> Concurrent |> Pragmatic |> Fun
暫譯: Elixir 1.3 程式設計:函數式 |> 並發 |> 實用 |> 有趣

Dave Thomas

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2016-11-03
  • 定價: $1,300
  • 售價: 5.0$650
  • 語言: 英文
  • 頁數: 364
  • 裝訂: Paperback
  • ISBN: 168050200X
  • ISBN-13: 9781680502008
  • 相關分類: Functional-programming
  • 立即出貨(限量) (庫存=2)

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

相關主題

商品描述

Explore functional programming without the academic overtones (tell me about monads just one more time). Create concurrent applications, but get them right without all the locking and consistency headaches. Meet Elixir, a modern, functional, concurrent language built on the rock-solid Erlang VM. Elixir's pragmatic syntax and built-in support for metaprogramming will make you productive and keep you interested for the long haul. Maybe the time is right for the Next Big Thing. Maybe it's Elixir. This book is the introduction to Elixir for experienced programmers, completely updated for Elixir 1.3.

Functional programming techniques help you manage the complexities of today's real-world, concurrent systems; maximize uptime; and manage security. Enter Elixir, with its modern, Ruby-like, extendable syntax, compile and runtime evaluation, hygienic macro system, and more. But, just as importantly, Elixir brings a sense of enjoyment to parallel, functional programming. Your applications become fun to work with, and the language encourages you to experiment.

Part 1 covers the basics of writing sequential Elixir programs. We'll look at the language, the tools, and the conventions. Part 2 uses these skills to start writing concurrent code-applications that use all the cores on your machine, or all the machines on your network! And we do it both with and without OTP. Part 3 looks at the more advanced features of the language, from DSLs and code generation toextending the syntax.

This edition is fully updated with all the new features of Elixir 1.3, with a new chapter on Tooling, covering testing (both conventional and property based), code and dependency exploration, and servermonitoring.By the end of this book, you'll understand Elixir, and know how to apply it to solve your complex, modern problems.

What You Need:

You'll need a computer, a little experience with another high-level language, and a sense of adventure. No functional programming experience is needed.

商品描述(中文翻譯)

探索函數式編程,而不帶有學術的色彩(再告訴我一次有關單子(monads)的事)。創建並發應用程式,但要正確實現,避免所有鎖定和一致性帶來的頭痛問題。認識 Elixir,一種現代的、函數式的、並發的語言,建立在穩固的 Erlang 虛擬機上。Elixir 實用的語法和內建的元編程支持將使你提高生產力,並保持長期的興趣。也許現在是迎接下一個大事物的時候了。也許就是 Elixir。本書是經驗豐富的程式設計師對 Elixir 的 最佳 入門書籍,完全更新至 Elixir 1.3。

函數式編程技術幫助你管理當今現實世界中並發系統的複雜性;最大化正常運行時間;並管理安全性。進入 Elixir,擁有現代的、類 Ruby 的可擴展語法、編譯和運行時評估、衛生宏系統等。但同樣重要的是,Elixir 為並行的函數式編程帶來了樂趣。你的應用程式變得有趣,這種語言鼓勵你進行實驗。

第一部分涵蓋編寫順序 Elixir 程式的基本知識。我們將探討語言、工具和慣例。第二部分利用這些技能開始編寫並發代碼——應用程式將使用你機器上的所有核心,或你網絡上的所有機器!我們將同時使用和不使用 OTP。第三部分將探討語言的更高級特性,從 DSL 和代碼生成到擴展語法。

本版已全面更新至 Elixir 1.3 的所有新特性,並新增了一章有關工具的內容,涵蓋測試(包括傳統測試和基於屬性的測試)、代碼和依賴性探索,以及伺服器監控。到本書結束時,你將理解 Elixir,並知道如何應用它來解決你複雜的現代問題。

你需要的條件:

你需要一台電腦,對另一種高級語言有一些經驗,以及冒險的精神。不需要有函數式編程的經驗。