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: 145
Created: 2022-02-03
License: CC BY-NC-SA
Author(s): Gregory T. Brown
Ruby Best Practices

Warning: Trying to access array offset on false in /home/tutovnfz/public_html/article.php on line 233

Others ruby Tutorials

Using Blocks in Ruby

Ruby Regexp

I Love Ruby

Ruby Hacking Guide

Ruby programming tutorial

Others related eBooks about Ruby Best Practices

Python Data Science Handbook: Essential Tools for Working with Data

For many researchers, Python is a first-class tool mainly because of its libraries for storing, manipulating, and gaining insight from data. Several resources exist for individual pieces of this data science stack, but only with the Python Data Science Handbook do you get them all - IPython, NumPy, ...

Deep Learning with JavaScript

Download free course Deep Learning with JavaScript, pdf file on 560 pages by Shanqing Cai, Stanley Bileschi, Eric D. Nielsen, Francois Chollet....

Problem Solving with Algorithms and Data Structures Using Python

THIS TEXTBOOK is about computer science. It is also about Python. However, there is much more. The study of algorithms and data structures is central to understanding what computer science is all about. Learning computer science is not unlike learning any other type of difficult subject matter. Th...

A Whirlwind Tour of Python

A Whirlwind Tour of Python is a fast-paced introduction to essential features of the Python language, aimed at researchers and developers who are already familiar with programming in another language. The material is particularly designed for those who wish to use Python for data science and/or scie...

Fundamentals of C++ Programming

This book does not attempt to cover all the facets of the C++ programming language. Experi..., download free C++ Programming tutorial in PDF (766 pages) created by ....

Programming Fundamentals

This programming fundamentals tutorial in PDF format covers the key concepts and principles that are essential for anyone looking to become a proficient coder. The tutorial begins with an introduction to programming, explaining the basic concepts and terminologies that underlie all programming langu...

Learning Symfony 3

Symfony 3 tutoririal to download for free, PDF document on 46 pages created by StackOverFlow which teaches you the basics of this framwork. After reading this tutorial you will know the basics of the Symfony 3 framework...

Hacking Secret Ciphers with Python

Download free course Hacking Secret Ciphers with Python, pdf file on 442 pages by Al Sweigart....

3D Game Development with LWJGL 3

This book introduces the main concepts required to write a 3D game using the LWJGL 3 library....

Using Perl 6

This book is primarily for people who want to learn Perl 6. It teaches the basics from a Perl 6 perspective, touching on variable interpolation, datastructure use, object construction, threads, closures, symbol tables, and other core features. It then introduces continuations, coroutines, binding (o...