The Ruby Style Guide

Author Bozhidar Batsov
Format online HTML, archived HTML
Price free

This Ruby style guide recommends best practices so that real-world Ruby programmers can write code that can be maintained by other real-world Ruby programmers. A style guide that reflects real-world usage gets used, and a style guide that holds to an ideal that has been rejected by the people it is supposed to help risks not getting used at all – no matter how good it is.

Chapters include:

  • Source Code Layout
  • Syntax
  • Naming
  • Comments
  • Classes
  • Exceptions
  • Collections
  • Strings
  • Regular Expressions
  • Percent Literals
  • Metaprogramming
  • Misc
  • Tools

Read

Leave a Reply

Your email address will not be published. Required fields are marked *