Programming Elixir 1.6 Functional |> Concurrent |> Pragmatic |> Fun

Dave Thomas

  • 出版商: Pragmatic Bookshelf
  • 出版日期: 2018-05-28
  • 定價: $1,630
  • 售價: 9.0$1,467
  • 語言: 英文
  • 頁數: 398
  • 裝訂: Paperback
  • ISBN: 1680502999
  • ISBN-13: 9781680502992
  • 相關分類: Functional-programming
  • 立即出貨 (庫存=1)

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

商品描述

This book is the introduction to Elixir for experienced programmers, completely updated for Elixir 1.6 and beyond. Explore functional programming without the academic overtones (tell me about monads just one more time). Create concurrent applications, butget 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 interestedfor the long haul. Maybe the time is right for the Next Big Thing. Maybe it's Elixir.

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 to extending the syntax.

This edition is fully updated with all the new features of Elixir 1.6, with a new chapter on structuring OTP applications, and new sections on the debugger, code formatter, Distillery, and protocols.

What You Need:

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

商品描述(中文翻譯)

這本書是針對有經驗的程式設計師的 Elixir 入門指南,完全更新至 Elixir 1.6 及以後的版本。它以非學術的方式介紹函數式編程,讓你能夠創建並行應用程式,但不需要擔心鎖定和一致性的問題。Elixir 是一種現代、函數式、並行的語言,建立在穩定可靠的 Erlang 虛擬機上。Elixir 的實用語法和內建的元編程支援將提高你的生產力,並讓你對它保持長期的興趣。也許現在是時候迎接下一個大事件了,也許它就是 Elixir。

函數式編程技術可以幫助你管理當今複雜的並行系統,最大限度地提高正常運行時間並管理安全性。Elixir 擁有現代、類似 Ruby 的可擴展語法、編譯和運行時評估、衛生宏系統等特點。但更重要的是,Elixir 為並行的函數式編程帶來了樂趣。你的應用程式將變得有趣且易於操作,而這種語言也鼓勵你進行實驗。

第一部分介紹了撰寫順序式 Elixir 程式的基礎知識。我們將研究語言、工具和慣例。第二部分利用這些技能開始撰寫並行程式碼,這些應用程式可以使用你的機器上的所有核心,或者使用你網絡上的所有機器!我們將介紹使用 OTP 和不使用 OTP 的方法。第三部分則探討語言的更高級特性,從領域特定語言和程式碼生成到擴展語法。

這個版本完全更新了 Elixir 1.6 的所有新功能,新增了一章關於結構化 OTP 應用程式的內容,以及關於調試器、程式碼格式化工具、Distillery 和協議的新節。

所需材料:

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