About This Title

Pages: 100
Published: April 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)

Programmer Passport: Elixir

by Bruce Tate

Elixir is a functional langauge that crosses many boundaries. With a syntax borrowing heavily from Ruby, a runtime that is on the Erlang BEAM, a macro system like that in Lisp and a streaming library like you might find in Haskell, Elixir borrows the best features from many environments.

Available exclusive in partnership with our friends at grox.io


Elixir borrows from Erlang’s “Let It Crash” philosophy, and adds in significant improvements with structs, first-class hygenic macros, and abstractions such as protocols. Still, Elixir is approachable because of its fantastic documentation, clear error messages, and excellent tooling. Many of these ideas were borrowed from other communities such as Ruby, and they make a big difference in langauge adoption.

What You Need

Resources

Releases:

Contents & Extracts

  • Sweet Tooling
    • Based on Erlang
    • Beyond Erlang
    • Tools
    • Mix Manages Development Tasks
    • IEx: Interactive Elixir
    • Built In Testing
    • Custom Mix Tasks
    • Sound Dependency Management Fuels Adoption
    • Try It Yourself
  • Data and Code Organization
    • Atoms, Pattern Matching, and Erlang Access
    • Booleans and Truthy Expressions
    • Numerics Favor Utility Over Performance
    • Characters are Code Points
    • Elixir Deemphasizes Control Structures
    • Try It Yourself
  • Tuples and Functions
    • Tuples, Deconstruction, and Pattern Matching
    • Functions and Code Organization
    • Advanced Pattern Matching and Constructors
    • Your Turn
  • Lists and Algorithms
    • Lists
    • Pattern Matching and Lists
    • Recursion Over Lists
    • Reduce and Anonymous Functions
    • Implement a Polygon
    • Your Turn
  • Key-Value Data
    • Keyword Dictionaries
    • Maps
    • Map Manipulation
    • Using Maps in Bulk
    • Structs Are Restricted Maps
    • Structs, Maps, and Public APIs
    • Your Turn
  • Processes and Concurrency
    • Processes, In-boxes and Pattern Matching
    • Put It All Together in a Message Loop
    • Your Turn
  • Blind Spots
    • Sigils
    • Dates, Times, and Comparisons
    • Binaries and Bit Strings
    • Your Turn
  • Macros
    • Elixir’s AST
    • Unquoting, Quoting, and defmacro
    • Introduce a DSL
    • Your Turn

Author

Bruce A. Tate is a programmer and CEO of Groxio where he is helping to redefine how computer languages are taught and learned. He’s the author of Seven Languages in Seven Weeks and Programming Phoenix, among other titles, and has been involved with Elixir from the very beginning.

Available exclusive in partnership with our friends at grox.io

Related Titles:

About This Title

Pages: 100
Published: April 2020
ISBN: pending
Edition: 1
Not Yet Printed (NYP)