Precisa de ajuda?

+ 55 11 99384-2442
[email protected]

Livro Impresso

Clean Ruby



Clean Ruby, ARTES, Springer Nature B.V.


Sinopse

  • 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
  • Metadado adicionado por UmLivro em 28/12/2024

    Encontrou alguma informação errada?

    ISBN relacionados

    --


    Metadados adicionados: 28/12/2024
    Última alteração: 27/12/2024

    Autores e Biografia

    DiLeo, Carleton (Autor)

    Para acessar as informações desta seção, Faça o login.