Introducing Elixir: Getting Started in Functional Programming (2ND ed.)

Simon St.Laurent, J. David Eisenberg

  • 出版商: O'Reilly
  • 出版日期: 2017-02-07
  • 售價: $1,200
  • 貴賓價: 9.5$1,140
  • 語言: 英文
  • 頁數: 248
  • 裝訂: Paperback
  • ISBN: 1491956771
  • ISBN-13: 9781491956779
  • 相關分類: Functional-programming
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Smooth, powerful, and small, Elixir is an excellent language for learning functional programming, and with this hands-on introduction, you’ll discover just how powerful Elixir can be. Authors Simon St. Laurent and J. David Eisenberg show you how Elixir combines the robust functional programming of Erlang with an approach that looks more like Ruby, and includes powerful macro features for metaprogramming.

Updated to cover Elixir 1.4, the second edition of this practical book helps you write simple Elixir programs by teaching one skill at a time. Once you pick up pattern matching, process-oriented programming, and other concepts, you’ll understand why Elixir makes it easier to build concurrent and resilient programs that scale up and down with ease.

  • Get comfortable with IEx, Elixir’s command line interface
  • Learn Elixir’s basic structures by working with numbers
  • Discover atoms, pattern matching, and guards: the foundations of your program structure
  • Delve into the heart of Elixir processing with recursion, strings, lists, and higher-order functions
  • Create Elixir processes and send messages among them
  • Store and manipulate structured data with Erlang Term Storage and the Mnesia database
  • Build resilient applications with the Open Telecom Platform

商品描述(中文翻譯)

流暢、強大且輕巧,Elixir是一個非常適合學習函數式編程的語言。透過這本實踐性的介紹,您將發現Elixir的強大之處。作者Simon St. Laurent和J. David Eisenberg向您展示了Elixir如何將Erlang的強大函數式編程與更接近Ruby的方法結合,並包含強大的宏功能以進行元編程。

第二版的這本實用書籍已更新至Elixir 1.4,它將幫助您逐步學習編寫簡單的Elixir程式。一旦您掌握了模式匹配、面向過程的編程和其他概念,您將明白為什麼使用Elixir可以更輕鬆地構建並行且具有彈性的程式,並能輕鬆地擴展和縮小。

本書的內容包括:
- 熟悉Elixir的命令行界面IEx
- 通過處理數字來學習Elixir的基本結構
- 探索原子、模式匹配和守衛:這些是您程式結構的基礎
- 深入研究Elixir處理的核心,包括遞迴、字串、列表和高階函數
- 創建Elixir進程並在它們之間傳遞訊息
- 使用Erlang Term Storage和Mnesia資料庫存儲和操作結構化數據
- 使用Open Telecom平台構建具有彈性的應用程式