Introducing Elixir: Getting Started in Functional Programming (Paperback)
暫譯: 介紹 Elixir:函數式程式設計入門 (平裝本)

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 使得構建可並行且具彈性的程式變得更加容易,並能輕鬆地進行擴展和縮減。

- 熟悉 IEx,Elixir 的命令行介面
- 探索原子、模式匹配和守衛:你程式結構的基礎
- 深入了解 Elixir 的核心,包括遞迴、字串、列表和高階函數
- 創建進程,彼此之間發送消息,並對進來的消息應用模式匹配
- 使用 Erlang Term Storage 和 Mnesia 數據庫存儲和操作結構化數據
- 使用 Erlang 的開放電信平台構建具彈性的應用程式
- 使用 Elixir 的元編程工具定義宏