Best of
Programming-Languages
2014
Designing for Scalability with Erlang/OTP: Implementing Robust, Fault-Tolerant Systems
Francesco Cesarini - 2014
With this hands-on book, you’ll learn how to apply OTP libraries and techniques to develop concurrent, fault-tolerant systems with no single point of failure.Written by the authors of O'Reilly's Erlang Programming, including a member of OTP’s R1 release team, this guide takes you through the basics of OTP and Erlang Design Patterns, and demonstrates how the platform can be used in a wide range of industries. If you have Erlang experience, you’ll learn how to overcome key obstacles in OTP that have thwarted many other developers.
Effective Ruby: 48 Specific Ways to Write Better Ruby
Peter J. Jones - 2014
Drawing on nearly a decade of Ruby experience, Peter J. Jones brings together 48 Ruby best practices, expert tips, and shortcuts--all supported by realistic code examples. Jones offers practical advice for each major area of Ruby development, from modules to memory to metaprogramming. Throughout, he uncovers little-known idioms, quirks, pitfalls, and intricacies that powerfully impact code behavior and performance. Each item contains specific, actionable, clearly organized guidelines; careful advice; detailed technical arguments; and illuminating code examples. When multiple options exist, Jones shows you how to choose the one that will work best in your situation. Effective Ruby will help you systematically improve your code--not by blindly following rules, but by thoroughly understanding Ruby programming techniques. Key features of this concise guide include How to avoid pitfalls associated with Ruby's sometimes surprising idiosyncrasies What you should know about inheritance hierarchies to successfully use Rails (and other large frameworks) How to use misunderstood methods to do amazingly useful things with collections Better ways to use exceptions to improve code reliability Powerful metaprogramming approaches (and techniques to avoid) Practical, efficient testing solutions, including MiniTest Unit and Spec Testing How to reliably manage RubyGem dependencies How to make the most of Ruby's memory management and profiling tools How to improve code efficiency by understanding the Ruby interpreter's internals
Stuff Goes Bad: Erlang in Anger
Fred Hebert - 2014
It is first and foremost a collection of tips and tricks to help understand where failures come from, and a dictionary of different code snippets and practices that helped developers debug production systems that were built in Erlang.
xchg rax, rax
xorpd - 2014
The book contains 0x40 short assembly snippets, each built to teach you one concept about assembly, math or life in general.
Programming in D
Ali Çehreli - 2014
It pragmatically combines efficiency, control, and modeling power, with safety and programmer productivity.Programming in D, by Ali Çehreli, is an introduction and complete reference to the D programming language. Covering almost every language feature in D, Programming in D starts with the famous Hello World program, and then goes on to explain structs, classes, interfaces, conditional compilation, contracts, ranges, concurrency, and much more. Each section is ended with a series of exercises, based on real world problems, that force you to completely understand the subject of the chapter before moving on.