Зарегистрироваться
Восстановить пароль
FAQ по входу

Boswell D., Foucher T. The Art of Readable Code

  • Файл формата djvu
  • размером 2,98 МБ
  • Добавлен пользователем
  • Описание отредактировано
Boswell D., Foucher T. The Art of Readable Code
O’Reilly Media, 2012. — 204 p.
This book is about how to write code that’s highly readable. The key idea in this book is that code should be easy to understand. Specifically, your goal should be to minimize the time it takes someone else to understand your code.
This book explains this idea and illustrates it with lots of examples from different languages, including C++, Python, JavaScript, and Java. We’ve avoided any advanced language features, so even if you don’t know all these languages, it should still be easy to follow along. (In our experience, the concepts of readability are mostly language-independent, anyhow.)
Each chapter dives into a different aspect of coding and how to make it easy to understand.
Code should be easy to understand
Surface-Level Improvements
Packing information into names
Names that can’t be misconstrued
Aesthetics
Knowing what to comment
Making comments precise and compact
Simplifying Loops and Logic
Making control flow easy to read
Breaking down giant expressions
Variables and readability
Reorganizing Your Code
Extracting Unrelated Subproblems
One Task at a Time
Turning Thoughts into Code
Writing Less Code
Selected Topics
Testing and Readability
Designing and Implementing a "Minute/Hour Counter"
Further Reading
Books on Writing High-Quality Code
Books on Various Programming Topics
Books of Historical Note
  • Чтобы скачать этот файл зарегистрируйтесь и/или войдите на сайт используя форму сверху.
  • Регистрация