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
Pages : 329
Size : 4.0 MB
File type : PDF
Downloads: 111
Created: 2022-02-03
License: CC BY-NC-SA
Author(s): Gregory T. Brown
Ruby Best Practices

Others ruby Tutorials

RubyFu

Ruby programming tutorial

Learning Ruby on Rails

Essential Ruby On Rails

Using Blocks in Ruby

Others related eBooks about Ruby Best Practices

Annotated Algorithms in Python: with Applications in Physics, Biology, and Finance

This book is assembled from lectures given by the author over a period of 10 years at the School of Computing of DePaul University. The lectures cover multiple classes, including Analysis and Design of Algorithms, Scientific Computing, Monte Carlo Simulations, and Parallel Algorithms. These lectur...

Raspberry Pi Projects Book

Download free course Raspberry Pi Projects Book, pdf file on 204 pages by Wes Archer, David Crookes, PJ Evans, Gareth Halfacree, Rosie Hattersley, Nicola King, Ben Nuttall, Marc Scott, Danny Staple, Mark Vanstone....

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 ....

5 Unsung Tools of DevOps

Download free course 5 Unsung Tools of DevOps, pdf file on 21 pages by O'Reilly Media....

The JavaScript Way

Download free course The JavaScript Way, pdf file on 288 pages by Baptiste Pesquet....

Visual Basic .NET Programming Tutorial

Download free Visual Basic tutorial course in PDF, training file in 51 chapters and 149 pages. Free unaffiliated ebook created from Stack OverFlow contributor....

Asynchronous Programming Succinctly

Download free course Asynchronous Programming Succinctly, pdf file on 85 pages by by Dirk Strauss....

Think Java: How to Think Like a Computer Scientist, 2nd Edition

This book is a hands-on introduction to computer science and programming used by many universities and high schools around the world. Its conciseness, emphasis on vocabulary, and informal tone make it particularly appealing for readers with little or no experience. The book starts with the most basi...

Exploring Swift

Swift is more than just a modern replacement for Objective-C. Ever since going open source..., download free Swift tutorial in PDF (94 pages) created by ....

TypeScript eBook for professionals

Download free TypeScript tutorial course in PDF, training file in 30 chapters and 97 pages. Free unaffiliated ebook created from Stack OverFlow contributor....