Introducing Elixir: Getting Started in Functional Programming

Introducing Elixir: Getting Started in Functional Programming
复制标题

Elixir 简介:函数式编程入门

DOI:
--
复制
发表时间:
2013
期刊:
影响因子:
--
通讯作者:
J. D. Eisenberg
J. D. Eisenberg
中科院分区:
--
文献类型:
--
作者:
Simon St. Laurent;J. D. Eisenberg

文献摘要

被引文献

相似文献

如果你想学习函数式编程,Elixir是一种很好的语言,通过这个动手的介绍,你会发现Elixir是多么的强大和有趣。这种语言结合了Erlang强大的函数式编程和类似于Ruby的语法,并包含了强大的元编程功能。本书通过一次教授一种技能来展示如何编写简单的Elixir程序。一旦你学会了模式匹配、面向过程的编程和其他概念,你就会明白为什么Elixir可以更轻松地构建并发和弹性程序,并且可以轻松地向上和向下扩展。熟悉IEx、Elixir命令行界面发现原子、模式匹配和保护:程序结构的基础使用递归、字符串、列表和高阶函数深入研究Elixir的核心创建进程,在它们之间发送消息,并对传入消息应用模式匹配使用Erlang Term Storage和Mnesia数据库存储和操作结构化数据使用Erlangs Open Telecom Platform构建弹性应用程序使用Elixirs元编程工具定义宏
Elixir is an excellent language if you want to learn about functional programming, and with this hands-on introduction, youll 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, youll understand why Elixir makes it easier to build concurrent and resilient programs that scale up and down with ease.Get comfortable with IEx, Elixirs command line interfaceDiscover atoms, pattern matching, and guards: the foundations of your program structureDelve into the heart of Elixir with recursion, strings, lists, and higher-order functionsCreate processes, send messages among them, and apply pattern matching to incoming messagesStore and manipulate structured data with Erlang Term Storage and the Mnesia databaseBuild resilient applications with Erlangs Open Telecom PlatformDefine macros with Elixirs metaprogramming tools