1.

Record Nr.

UNINA9910357835403321

Autore

DiLeo Carleton

Titolo

Clean Ruby : A Guide to Crafting Better Code for Rubyists / / by Carleton DiLeo

Pubbl/distr/stampa

Berkeley, CA : , : Apress : , : Imprint : Apress, , 2019

ISBN

1-4842-5546-1

Edizione

[1st ed. 2019.]

Descrizione fisica

1 online resource (119 pages)

Disciplina

005.117

Soggetti

Programming languages (Electronic computers)

Computer programming

Open source software

Programming Languages, Compilers, Interpreters

Web Development

Open Source

Lingua di pubblicazione

Inglese

Formato

Materiale a stampa

Livello bibliografico

Monografia

Note generali

Includes index.

Nota di bibliografia

Includes bibliographical references.

Nota di contenuto

1. The Qualities of Clean Code -- 2. Naming Things -- 3. Creating Quality Methods -- 4. Using Boolean Logic -- 5. Classes -- 6. Refactoring.-7. Test-Driven Development (TDD).-Afterword: Wrapping Up.

Sommario/riassunto

Learn how to make better decisions and write cleaner Ruby code. This book shows you how to avoid messy code that is hard to test and which cripples productivity. Author Carleton DiLeo shares hard-learned lessons gained from years of experience across numerous codebases both large and small. Each chapter covers the topics you need to know to make better decisions and optimize your productivity. Many books will tell you how to do something; this book will tell you why you should do it. Start writing code you love. This book is written for Ruby developers. There is no need to learn a new language or translate concepts to Ruby. You will: Build better classes to help promote code reuse Improve your decision making and make better, smarter choices Identify bad code and fixed it Create quality names for all of your variables, classes, and modules Write better, concise classes Improve the quality of your methods Properly use modules Clarify your Boolean



logic See when and how you refactor Improve your understanding of TDD and write better tests.