Download Elixir in Action by Saša Jurić PDF

By Saša Jurić

Elixir in motion teaches you to use the hot Elixir programming language to useful difficulties linked to scalability, concurrency, fault tolerance, and excessive availability.

Show description

Read Online or Download Elixir in Action PDF

Best programming books

Head First Rails: A Learner's Companion to Ruby on Rails

Able to delivery your net purposes into the internet 2. zero period? Head First Rails takes your programming -- and productiveness -- to the max. You'll study every thing from the basics of Rails scaffolding to construction custom-made interactive net apps utilizing Rails' wealthy set of instruments and the MVC framework.

Managing Software Debt: Building for Inevitable Change (Agile Software Development Series)

Transport imperfect software program is like going into debt. for those who incur debt, the appearance of doing issues quicker can result in exponential progress within the price of keeping software program. software program debt takes 5 significant kinds: technical, caliber, configuration administration, layout, and platform adventure. In today’s rush to industry, software program debt is inevitable.

Python Developer's Handbook (Other Sams)

The Python Developer's guide is designed to reveal skilled builders to Python and its makes use of. starting with a short advent to the language and its syntax, the e-book strikes speedy into extra complex programming subject matters, together with embedding Python, community programming, GUI toolkits, JPython, internet improvement, Python/C API, and extra.

Pro HTML5 Accessibility: Building an Inclusive Web

Seasoned HTML5Accessibility is helping designers come to grips with development interesting, available and usable websites and purposes with HTML5. The e-book covers easy methods to use HTML5 to be able to serve the desires of individuals with disabilities and older folks utilizing assistive know-how (AT). It goals to be an invaluable ‘go-to' consultant, offering functional recommendation.

Additional info for Elixir in Action

Example text

2 Functions A function must always be a part of a module. Function names follow the same conventions as variables: they start with a lowercase letter or underscore character, followed by a combination of alphanumerics and underscores. As with variables, function names can end with the characters ? and !. The ? character is often used to indicate a function that returns either true or false. Placing the character ! at the end of the name indicates a function that may raise a runtime error. Both of these are conventions, rather than rules, but it’s best to follow them and respect the community style.

Additionally, running on multiple machines makes the system truly resilient—if one machine crashes, others can take over. RESPONSIVENESS Runtime is specifically tuned to promote overall responsiveness of the system. I’ve mentioned that Erlang takes the execution of multiple processes into its own hands by employing dedicated schedulers that interchangeably execute many Erlang processes. A scheduler is preemptive—it gives a small execution window to each process and then pauses it and runs another process.

Valid_name? also_ok! This convention is more often used when naming functions. Data in Elixir is immutable: its contents can’t be changed. com> 22 CHAPTER 2 iex(3)> monthly_salary = 11000 11000 iex(4)> monthly_salary 11000 Building blocks Rebinds the initial value Verifies the effect of rebinding Rebinding doesn’t mutate the existing memory location. It reserves new memory and reassigns the symbolic name to the new location. NOTE You should always be aware of the fact that data is immutable. Once a memory location is occupied with data, it can’t be modified until it’s released.

Download PDF sample

Rated 4.44 of 5 – based on 11 votes