By Fred Hebert

Erlang is the language of selection for programmers who are looking to write powerful, concurrent purposes, yet its unusual syntax and sensible layout can intimidate the uninitiated. fortunately, theres a brand new weapon within the conflict opposed to Erlang-phobia study You a few Erlang for excellent Good!
Erlang maestro Fred Hebert begins gradual and eases you into the fundamentals Youll know about Erlangs unorthodox syntax, its information constructions, its variety approach (or lack thereof!), and easy useful programming ideas. as soon as youve wrapped your head round the uncomplicated stuff, youll take on the genuine meat-and-potatoes of the language concurrency, disbursed computing, scorching code loading, and all of the different darkish magic that makes Erlang this sort of sizzling subject between todays savvy developers.
As you dive into Erlangs useful fable international, youll study about
• trying out your functions with EUnit and customary Test
• development and liberating your functions with the OTP framework
• Passing messages, elevating mistakes, and starting/stopping approaches over many nodes
• Storing and retrieving facts utilizing Mnesia and ETS
• community programming with TCP, UDP, and the inet module
• the straightforward joys and strength pitfalls of writing disbursed, concurrent applications
Packed with lighthearted illustrations and simply the right combination of offbeat and useful instance courses, study You a few Erlang for excellent stable! is the suitable access aspect into the sometimes-crazy, always-thrilling international of Erlang.

Show description

Read or Download Learn you some Erlang for great good! : a beginner's guide PDF

Best web programming books

Aptana RadRails: An IDE for Rails Development: A comprehensive guide to using RadRails to develop your Ruby on Rails projects in a professional and productive manner

The RadRails IDE seems good fleshed out. It presents many helpful aids to the Ruby on Rails programmer. The booklet exhibits various examples and reveal captures.

Plus, there also are a few accelerators. Like code templates. this permits you to outline snippets of usual code. Then through a couple of keys, a snippet could be inserted at a position contained in the major code. although, come to consider it, you need to most likely minimise utilization of this option. simply because if overused it will possibly result in many code duplicates, which raises the scale of the general code, and makes upkeep more durable, if you would like to make an identical switch to all circumstances of a given snippet.

RadRails additionally offers help for a debugger. Making it effortless to invoke. this option is easily worthy cautious examining.

HTML, XHTML & CSS For Dummies

I locate that HTML, XHTML & CSS for Dummies is of an analogous caliber (and quirkiness) because the different "for Dummies" books. this can be a nice table reference booklet for rookies or those who do not code websites usually. i'd suggest this booklet as a reference / aspect buy to express net coding tutorial books.

Elgg 1.8 Social Networking

Create, customise, and set up your own social networking web site with Elgg An up-to-date model of the first actual ebook on Elgg particular and easy-to-understand research on construction your own social networking website with Elgg discover the mammoth variety of Elgg's social networking features together with groups, sharing, profiles and relationships learn how to create plugins and issues with large tutorials Written via funds Costello, a middle developer of the Elgg crew, with a foreword from Dave Tosh, Elgg co-founder.

Sinatra: Up and Running: Ruby for the Web, Simply

Benefit from Sinatra, the Ruby-based internet software library and domain-specific language utilized by GitHub, LinkedIn, Engine backyard, and different admired enterprises. With this concise ebook, you'll fast achieve operating wisdom of Sinatra and its minimalist method of construction either standalone and modular internet purposes.

Additional resources for Learn you some Erlang for great good! : a beginner's guide

Sample text

12> 5 + llama. ** exception error: bad argument in an arithmetic expression in operator +/2 called as 5 + llama Erlang doesn’t really like you misusing some of its fundamental types. The emulator returns an error message here, indicating it doesn’t like one of the two arguments used around the + operator. Erlang doesn’t always get mad at you for using the wrong types though: 13> 5 =:= true. false Why does it refuse different types in some operations but not others? While Erlang doesn’t let you add two operands of different types, it will let you compare them.

Lists can contain anything—numbers, atoms, tuples, other lists—your wildest dreams in a single structure. 34, atom]. 34,atom] Simple enough, right? Let’s try another one: 2> [97, 98, 99]. "abc" Uh-oh! This is one of the most disliked things in Erlang: strings. Strings are lists, and the notation is exactly the same. Why do people dislike it? Because of this: 3> [97,98,99,4,5,6]. [97,98,99,4,5,6] 4> [233]. "é" Erlang will print lists of numbers as numbers only when at least one of them could not also represent a letter.

ConditionM] Note that the generator expressions coupled with pattern matching can also act as a filter: 6> Weather = [{toronto, rain}, {montreal, storms}, {london, fog}, 6> {paris, sun}, {boston, fog}, {vancouver, snow}]. [{toronto,rain}, {montreal,storms}, {london,fog}, {paris,sun}, {boston,fog}, {vancouver,snow}] 7> FoggyPlaces = [X || {X, fog} <- Weather]. [london,boston] If an element of the list Weather doesn’t match the {X, fog} pattern, it’s simply ignored in the list comprehension, whereas the = operator would have raised an exception.

Download PDF sample

Rated 4.08 of 5 – based on 5 votes