Programming Elixir ≥ 1.6: Functional |> Concurrent |> Pragmatic |> Fun
By 作者: Dave Thomas
ISBN-10 书号: 1680502999
ISBN-13 书号: 9781680502992
Edition 版本: 1
Release Finelybook 出版日期: 2018-05-28
pages 页数: 398
Book Description to Finelybook sorting
This book is the introduction to Elixir for experienced programmers, completely updated for Elixir 1.6 and beyond. Explore functional programming without the academic overtones (tell me about monads just one more time). Create concurrent applications, but get them right without all the locking and consistency headaches. Meet Elixir, a modern, functional, concurrent language built on the rock-solid Erlang VM. Elixir’s pragmatic syntax and built-in support for metaprogramming will make you productive and keep you interested for the long haul. Maybe the time is right for the Next Big Thing. Maybe it’s Elixir.
About this title
Functional programming techniques help you manage the complexities of today’s real-world, concurrent systems; maximize uptime; and manage security. Enter Elixir, with its modern, Ruby-like, extendable syntax, compile and runtime evaluation, hygienic macro system, and more. But, just as importantly, Elixir brings a sense of enjoyment to parallel, functional programming. Your applications become fun to work with, and the language encourages you to experiment.
Part 1 covers the basics of writing sequential Elixir programs. We’ll look at the language, the tools, and the conventions. Part 2 uses these skills to start writing concurrent code—applications that use all the cores on your machine, or all the machines on your network! And we do it both with and without OTP. Part 3 looks at the more advanced features of the language, from DSLs and code generation to extending the syntax.
This edition is fully updated with all the new features of Elixir 1.6, with a new chapter on structuring OTP applications, and new sections on the debugger, code formatter, Distillery, and protocols.
What you need
You’ll need a computer, a little experience with another high-level language, and a sense of adventure. No functional programming experience is needed.
A Vain Attempt at a Justification, Take Two
1. Take the Red Pill
Partl. Conventional Programming
+2. Pattern Matching
+4. Elixir Basics
+5. Anonymous Functions
+6. Modules and Named Functions
+7. Lists and Recursion
+8. Maps, Keyword Lists, Sets, and Structs
9. An Aside-What Are Types?
+10. Processing Collections-Enum and Stream
+11. Strings and Binaries
F12. Control Flow
+13. Organizing a Project
Partll. Concurrent Programming
+15. Working with Multiple Processes
+16. Nodes-The Key to Distributing Services
17. OTP: Servers
+18. OTP: Supervisors
+19.A More Complex Example
+20. OTP: Applications
+21. Tasksand Agents
Part ll. More Advanced Elixir
+22. Macros and Code Evaluation
+23. Linking Modules: Behavio(u) rs and use
+24. Protocols-Polymorphic Functions
+25. More Cool Stuff
A1. Exceptions: raise and try, catch and throw
A2. Type Specifications and Type Checking
Programming Elixir ≥ 1.6 Functional Concurrent Pragmatic Fun 9781680502992 c.pdf
Programming Elixir ≥ 1.6 Functional Concurrent Pragmatic Fun 9781680502992.epub