Programming Elixir 1.3: Functional |> Concurrent |> Pragmatic |> Fun

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.

商品描述(中文翻譯)

探索功能性編程,不帶有學術色彩(再跟我講一次關於單子的事情)。創建並行應用程序,但不需要擔心所有的鎖定和一致性問題。認識Elixir,這是一種現代、功能性、並行的語言,建立在穩定可靠的Erlang虛擬機上。Elixir的務實語法和內置的元編程支持將使您高效並保持長期興趣。也許現在是時候迎接下一個大事件了。也許它就是Elixir。這本書是為有經驗的程序員提供的Elixir入門指南,完全更新至Elixir 1.3。

功能性編程技術可以幫助您管理當今現實世界中複雜的並行系統,最大程度地提高正常運行時間並管理安全性。Elixir以其現代化、類似Ruby的可擴展語法、編譯和運行時評估、衛生宏系統等特點而聞名。但是,同樣重要的是,Elixir為並行功能性編程帶來了樂趣。您的應用程序將變得有趣且易於操作,而語言也鼓勵您進行實驗。

第1部分介紹了編寫順序Elixir程序的基礎知識。我們將研究語言、工具和慣例。第2部分利用這些技能開始編寫並行代碼-應用程序可以使用計算機上的所有核心,或者使用網絡上的所有計算機!我們將使用OTP和不使用OTP兩種方式實現。第3部分介紹了語言的更高級特性,從DSL和代碼生成到擴展語法。

本版全面更新了Elixir 1.3的所有新功能,增加了一章關於工具的內容,包括測試(傳統和基於屬性的測試)、代碼和依賴探索以及服務器監控。

通過閱讀本書,您將了解Elixir,並知道如何應用它來解決您複雜而現代的問題。

您需要的東西:
您需要一台計算機,對另一種高級語言有一些經驗,以及一種冒險精神。不需要功能性編程經驗。