Actions for Ruby best practices
Ruby best practices / by Gregory T. Brown
- Author
- Brown, Gregory T.
- Published
- Sebastopol, Calif. : O'Reilly Media, Inc., [2009]
- Copyright Date
- ©2009
- Edition
- 1st ed.
- Physical Description
- 1 online resource
Access Online
- Contents
- Ruby Best Practices; Preface; About This Book; Conventions Used in This Book; Using Code Examples; Safari® Books Online; How to Contact Us; Acknowledgments; 1. Driving Code Through Tests; Designing for Testability; Testing Fundamentals; Testing Exceptions; Run the Whole Suite at Once; Advanced Testing Techniques; Testing Complex Output; Keeping Things Organized; Test Helpers; Custom Assertions; Conclusions; 2. Designing Beautiful APIs; Ruby's Secret Power: Flexible Argument Processing; Ordinal Arguments with Optional Parameters; Pseudo-Keyword Arguments; Treating Arguments As an Array.
- Summary
- Ruby Best Practices is for programmers who want to use Ruby the way Rubyists do. Written by the developer of the Ruby project Prawn (prawn.majesticseacreature.com), this concise book explains how to design beautiful APIs and domain-specific languages, work with functional programming ideas and techniques that can simplify your code and make you more productive, write code that's readable and expressive, and much more. It's the perfect companion to The Ruby Programming Language.
- Subject(s)
- ISBN
- 9780596157487
0596157487
9780596555818 (electronic bk.)
0596555814 (electronic bk.)
9780596523008 - Digital File Characteristics
- text file
View MARC record | catkey: 37416586