Introducing Erlang: Getting Started in Functional Programming

Simon St. Laurent

  • 出版商: O'Reilly
  • 出版日期: 2017-04-11
  • 定價: $1,380
  • 售價: 8.0$1,104
  • 語言: 英文
  • 頁數: 212
  • 裝訂: Paperback
  • ISBN: 1491973374
  • ISBN-13: 9781491973370
  • 相關分類: Functional-programming
  • 立即出貨 (庫存 < 4)

商品描述

If you’re new to Erlang, its functional style can seem difficult, but with help from this hands-on introduction, you’ll scale the learning curve and discover how enjoyable, powerful, and fun this language can be.

In this updated second edition, author Simon St.Laurent shows you how to write simple Erlang programs by teaching you one skill at a time. You’ll learn about pattern matching, recursion, message passing, process-oriented programming, and establishing pathways for data rather than telling it where to go. By the end of your journey, you’ll understand why Erlang is ideal for concurrency and resilience.

  • Get cozy with Erlang’s shell, its command line interface
  • Define functions, using the fun tool, to represent repeated calculations
  • Discover atoms, pattern matching, and guards: the foundations of your program structure
  • Delve into the heart of Erlang processing 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
  • Learn about Open Telecom Platform, Erlang’s open source libraries and tools

商品描述(中文翻譯)

如果你對 Erlang 是新手,它的函數式風格可能會讓你感到困難,但透過這本實踐導向的介紹,你將能夠攀升學習曲線,並發現這個語言是多麼有趣、強大和愉快。

在這本更新的第二版中,作者 Simon St.Laurent 逐步教導你如何撰寫簡單的 Erlang 程式。你將學習到模式匹配、遞迴、訊息傳遞、以及基於處理的程式設計,並建立資料的路徑,而不是告訴它去哪裡。在你的學習旅程結束時,你將了解為什麼 Erlang 是並行性和彈性的理想選擇。

本書的內容包括:
- 熟悉 Erlang 的 shell,也就是它的命令列介面
- 使用 "fun" 工具定義函數,以表示重複計算
- 探索原子、模式匹配和 guards:這是你程式結構的基礎
- 深入研究遞迴、字串、列表和高階函數等 Erlang 處理的核心概念
- 建立進程,相互之間傳送訊息,並對傳入訊息應用模式匹配
- 使用 Erlang Term Storage 和 Mnesia 資料庫來存儲和操作結構化資料
- 了解 Erlang 的開放電信平台、開源庫和工具

這本書將幫助你逐步掌握 Erlang 的基礎知識,並提供實際的練習和示例,讓你能夠輕鬆地開始使用這個強大的語言。無論你是想學習並行程式設計,還是對可靠性和彈性有需求,Erlang 都是一個值得學習的語言。