Introducing Elixir: Getting Started in Functional Programming (Paperback)

Simon St. Laurent, J. David Eisenberg

  • 出版商: O'Reilly
  • 出版日期: 2014-09-25
  • 定價: $825
  • 售價: 8.0$660
  • 語言: 英文
  • 頁數: 210
  • 裝訂: Paperback
  • ISBN: 1449369995
  • ISBN-13: 9781449369996
  • 相關分類: Functional-programming
  • 立即出貨(限量) (庫存=2)

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

商品描述

Elixir is an excellent language if you want to learn about functional programming, and with this hands-on introduction, you’ll discover just how powerful and fun Elixir can be. This language combines the robust functional programming of Erlang with a syntax similar to Ruby, and includes powerful features for metaprogramming.

This book shows you how to 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
  • Discover atoms, pattern matching, and guards: the foundations of your program structure
  • Delve into the heart of Elixir with recursion, strings, lists, and higher-order functions
  • Create processes, send messages among them, and apply pattern matching to incoming messages
  • Store and manipulate structured data with Erlang Term Storage and the Mnesia database
  • Build resilient applications with Erlang’s Open Telecom Platform
  • Define macros with Elixir’s metaprogramming tools

商品描述(中文翻譯)

Elixir是一種優秀的語言,如果你想學習函數式編程,這本實踐導論將讓你發現Elixir的強大和樂趣。這種語言結合了Erlang的強大函數式編程和類似Ruby的語法,並包含了強大的元編程功能。

本書通過逐步教授一個技能的方式,向你展示如何編寫簡單的Elixir程序。一旦你掌握了模式匹配、面向進程的編程和其他概念,你就會明白為什麼Elixir更容易構建並發和具有彈性的程序,並且可以輕鬆地擴展和縮小。

本書內容包括:
- 熟悉Elixir的命令行界面IEx
- 探索原子、模式匹配和守衛:這是程序結構的基礎
- 深入研究Elixir的核心,包括遞歸、字符串、列表和高階函數
- 創建進程,相互之間發送消息,並對接收到的消息應用模式匹配
- 使用Erlang Term Storage和Mnesia數據庫存儲和操作結構化數據
- 使用Erlang的Open Telecom平台構建具有彈性的應用程序
- 使用Elixir的元編程工具定義宏

這本書將幫助你深入了解Elixir的核心概念和技術,並通過實踐編程來提升你的能力。無論你是初學者還是有經驗的開發人員,這本書都將成為你學習和應用Elixir的寶貴資源。