Clean Ruby: A Guide to Crafting Better Code for Rubyists

Clean Ruby: A Guide to Crafting Better Code for Rubyists

作者: DiLeo Carleton
出版社: Apress
出版在: 2019-11-30
ISBN-13: 9781484255452
ISBN-10: 1484255453
裝訂格式: Quality Paper - also called trade paper
總頁數: 113 頁




內容描述


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. What You Will Learn Build better classes to help promote code reuse Improve your decision making and make better, smarter choicesIdentify bad code and fixed itCreate quality names for all of your variables, classes, and modules Write better, concise classesImprove the quality of your methodsProperly use modules Clarify your Boolean logic See when and how you refactorImprove your understanding of TDD and write better tests Who This Book Is ForThis book is written for Ruby developers. There is no need to learn a new language or translate concepts to Ruby.


作者介紹


Carleton DiLeo has been writing code ever since he built his first computer from parts in a dumpster. He has written code from high-traffic websites to back-end big data systems for video games. This wide base of knowledge provides Carleton with a unique perspective when writing Ruby code.




相關書籍

最新 HTML5 & CSS3 語法範例速查辭典

作者 森史憲 藤本壹 許郁文 譯

2019-11-30

Learning Ionic Second Edition

作者 Arvind Ravulavaru

2019-11-30

jQuery Cookbook (Paperback)

作者 Cody Lindley

2019-11-30