Items related to Clean Ruby: A Guide to Crafting Better Code for Rubyists

Clean Ruby: A Guide to Crafting Better Code for Rubyists - Softcover

  • 2.62 out of 5 stars
    8 ratings by Goodreads
 
9781484255476: Clean Ruby: A Guide to Crafting Better Code for Rubyists

This specific ISBN edition is currently not available.

Synopsis

  • The Qualities of Clean Code
    • Readability
    • Extensibility
    • Simplicity
  • Naming Things
  • Variables
    • Naming conventions
    • The data
    • Length
    • Avoid unnecessary information
    • Avoid conjunctions
    • Only alpha characters
  • Methods
    • Use verbs
    • Return value
    • Bang methods
  • Classes
  • Purpose
  • Role
  • Modules
  • Creating Quality Methods
    • Parameters
      • Use fewer parameters
      • Parameter order
    • Return Values
    • Guard Clause
    • Length
      • How to shorten a method
      • Too short
    • Comments
      • Quality comments
      • Stale comments
      • Comments and refactoring
    • Limit Nesting
  • Using Boolean Logic
  • Using a Variable
  • Using a Method
  • Unless
  • Ternary operator
  • Double negative
  • Truthy and Falsy
    • Truthy Values
    • Falsy Values
  • & vs &&
  • Classes
  • Initialize Method
    • Keep it Simple
    • Avoiding Errors
    • Too many parameters
  • Class methods vs instance methods
  • Instance variables
  • Private methods
  • Method order
  • Moving methods to a module
  • Limiting Inheritance
  • Refactoring
    • No change too small
    • Tests
    • Single Responsibility Principle
  • Test-Driven Development (TDD)
  • Start with tests
  • Implement our code
  • More Tests
  • Clean Tests
  • Wrapping up
  • "synopsis" may belong to another edition of this title.

    (No Available Copies)

    Search Books:



    Create a Want

    Can't find the book you're looking for? We'll keep searching for you. If one of our booksellers adds it to AbeBooks, we'll let you know!

    Create a Want

    Other Popular Editions of the Same Title

    9781484255452: Clean Ruby: A Guide to Crafting Better Code for Rubyists

    Featured Edition

    ISBN 10:  1484255453 ISBN 13:  9781484255452
    Publisher: Apress, 2019
    Softcover