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.
Author Simon St. Laurent shows you how to write simple Erlang programs by teaching you one basic 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
- Become familiar with Erlang’s basic structures by working with numbers
- 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
|Publisher:||O'Reilly Media, Incorporated|
|Product dimensions:||9.00(w) x 7.00(h) x 0.50(d)|
About the Author
Simon St. Laurent is a web developer, network administrator, computer book author, and XML troublemaker living in Ithaca, NY. His books include XML: A Primer, XML Elements of Style, Building XML Applications, Cookies, and Sharing Bandwidth. He is a contributing editor to XMLhack.com and an occasional contributor to XML.com.
Table of Contents
- Chapter 1: Chapter Title
Most Helpful Customer Reviews
If your programming experience is with old-school languages like C or object oriented languages like Java, the functional style of Erlang can seem baffling at first, especially as you move from looping to recursion and learn to pass messages between processes. Introducing Erlang does a great job of showing you, step by step, how to use Erlang to approach programming. The examples can be a bit repetitious, but by looking at the differences between similar code samples will be your best place to understand how the language works. If you're new to functional programming, this is the place to start. If you have worked with a Lisp, with Haskell or with another functional paradigm, you might prefer Learn you some Erlang for a great good. Experienced programmers will want to check out the new edition of Programming Erlang by Joe Armstrong, who designed the language.