Ruby Best Practices



Download free course Ruby Best Practices, pdf file on 329 pages by Gregory T. Brown.
How do you write truly elegant code with Ruby? Ruby Best Practices is for programmers who want to use Ruby as experienced Rubyists do. Written by the developer of the Ruby project Prawn, this concise book explains how to design beautiful APIs and domain-specific languages with Ruby, as well as how to work with functional programming ideas and techniques that can simplify your code and make you more productive. You'll learn how to write code that's readable, expressive, and much more.

Ruby Best Practices will help you:
- Understand the secret powers unlocked by Ruby's code blocks;
- Learn how to bend Ruby code without breaking it, such as mixing in modules on the fly;
- Discover the ins and outs of testing and debugging, and how to design for testability;
- Learn to write faster code by keeping things simple;
- Develop strategies for text processing and file management, including regular expressions;
- Understand how and why things can go wrong;
- Reduce cultural barriers by leveraging Ruby's multilingual capabilities.

This book also offers you comprehensive chapters on driving code through tests, designing APIs, and project maintenance. Learn how to make the most of this rich, beautiful language with Ruby Best Practices.

Table of contents

  • Driving Code Through Tests
  • Designing Beautiful APIs
  • Mastering the Dynamic Toolkit
  • Text Processing and File Management
  • Functional Programming Techniques
  • When Things Go Wrong
  • Reducing Cultural Barriers
  • Skillful Project Maintenance
  • Writing Backward-Compatible Code
  • Leveraging Ruby's Standard Library
  • Ruby Worst Practices
Pages329
Size4.0 MB
File typePDF
Downloads241
Created2022-02-03
LicenseCC BY-NC-SA
Author(s) Gregory T. Brown
Cover of Ruby Best Practices

Download

  • Programming for Computations - Python

    Download free course Programming for Computations - Python, pdf file on 350 pages by Svein Linge, Hans Petter Langtangen....

  • Free Xamarin.Forms Programming Tutorial

    Download free Xamarin tutorial course in PDF, training file in 37 chapters and 181 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

  • Getting started with JSF2

    Free Pdf tutorial about the basics of JSF and Eclipse ,training document for beginners under 28 pages to learn how to install and setup JSF....

  • Neural Networks and Deep Learning

    Neural Networks and Deep Learning currently provide the best solutions to many problems in image recognition, speech recognition, and natural language processing. This book will teach you the core concepts behind neural networks and deep learning. ...

  • Modern Perl

    Modern Perl is one way to describe how experienced and effective Perl 5 programmers work. They use language idioms. They take advantage of the CPAN. They're recognizably Perlish, and they show good taste and craftsmanship and a full understanding of Perl. ...

  • How to Build a SharePoint Website

    Download free SharePoint tutorial in pdf, training document on 11 pages for beginners....

  • Fundamentals of Python Programming

    Download free course Fundamentals of Python Programming, pdf file on 669 pages by Richard L. Halterman....

  • The Rook's Guide to C++

    This Creative Commons-licensed textbook written by Norwich University students and faculty aims to provide an introduction to the C++ programming language. The PDF and original typesetting materials are available if you are interested in having a free digital copy of your own or if you wish to contr...

  • Java Notes for Professionals

    Download free course Java Notes for Professionals, pdf file on 981 pages by Stack Overflow Community....

  • Biopython: Tutorial and Cookbook

    The Biopython Project is an international association of developers tools for computationa..., download free Python tutorial in PDF (360 pages) created by Jeff Chang ....