You Need Code Reviews

You Need Code Reviews

Learn how code reviews make your life easier by reducing bugs and improving code quality

About the Book

Even with all the code review tools out there, not every team or company reviews their code before pushing it live.

Code reviews are crucial to ensure code quality and prevent stressful urgent bug fixes. Effective code reviews will make applications easier to maintain, reduce the number of bugs, and spread knowledge among team members. It is important to make sure reviews improve code quality while keeping team morale in mind. Without an effective code review process, you may have to deal with these problems:

  • Fixing bugs late at night or on weekends
  • Have trouble maintaining or making changes to your project's code
  • Have trouble understanding other developer's code
  • Your team and project do not improve over time

You Need Code Reviews helps you learn everything you need to avoid those problems. The book covers everything from introducing reviews to teams that haven't done them before to how to perform and respond to peer reviews. You will learn how to be empathetic and deal with the human side of code to make reviews a process your team wants to be part of. Whether your team already does code reviews or is looking to improve the process, you will find useful advice within You Need Code Reviews.

Table Of Content

This is a listing of chapters, sections, and subsections. Leanpub does not provide a way to provide the table of contents in a nested list.

  1. Preface
  2. Introduction
  3. What are code reviews?
  4. Why are code reviews necessary?
  5. What if we already do automated testing or have QA (Quality Assurance)?
  6. Who should do reviews?
  7. Introducing Code Review to your Team
  8. Convincing your boss
  9. Making your team care about reviews
  10. What can go wrong with reviews?
  11. Establishing standards
  12. How to perform a useful review
  13. Finding your review style
  14. How to word comments
  15. What are you looking for in a review?
  16. Is the logic correct? Is it doing the right thing?
  17. Are there bugs in the code?
  18. Is input validated? Are edge cases handled?
  19. Are errors handled?
  20. Are there any security issues?
  21. Are there any performance issues?
  22. Are standards and best practices followed?
  23. Are design patterns used correctly?
  24. Is the code easy to understand? Will it be easy to maintain?
  25. How to respond to a review?
  26. Responding to comments
  27. Making changes
  28. I disagree...
  29. Using automated tools to review code
  30. Linters, style checks, and static code analyzers
  31. Automated Tests
  32. Continuous Integration Tools
  33. Conclusion
  34. About the author

This book is currently an early work in progress with an estimated release date of late 2022.

  • Share this book

  • Categories

    • Software
    • Software Engineering
    • Technical Communication
    • Computers and Programming
    • Quality Management
    • Teamwork
  • Feedback

    Email the Author(s)

About the Author

Kevin Hicks
Kevin Hicks

Kevin Hicks is a senior software engineer with over ten years of experience developing websites and web applications. Now focusing on mobile and web application development, he works as both a regular full-time employee and a consultant developing sites and applications for a large e-commerce company and clients. Kevin has worked on anything from small mobile games to large e-commerce sites to SaaS (Software as a Service) applications for startups and enterprise clients. Now he is looking to help other people by spreading the knowledge and experience he has gained over the previous years so they can avoid the many mistakes he has made.

The Leanpub 60-day 100% Happiness Guarantee

Within 60 days of purchase you can get a 100% refund on any Leanpub purchase, in two clicks.

See full terms

Do Well. Do Good.

Authors have earned$12,153,952writing, publishing and selling on Leanpub, earning 80% royalties while saving up to 25 million pounds of CO2 and up to 46,000 trees.

Learn more about writing on Leanpub

Free Updates. DRM Free.

If you buy a Leanpub book, you get free updates for as long as the author updates the book! Many authors use Leanpub to publish their books in-progress, while they are writing them. All readers get free updates, regardless of when they bought the book or how much they paid (including free).

Most Leanpub books are available in PDF (for computers) and EPUB (for phones, tablets and Kindle). The formats that a book includes are shown at the top right corner of this page.

Finally, Leanpub books don't have any DRM copy-protection nonsense, so you can easily read them on any supported device.

Learn more about Leanpub's ebook formats and where to read them

Write and Publish on Leanpub

You can use Leanpub to easily write, publish and sell in-progress and completed ebooks and online courses!

Leanpub is a powerful platform for serious authors, combining a simple, elegant writing and publishing workflow with a store focused on selling in-progress ebooks.

Leanpub is a magical typewriter for authors: just write in plain text, and to publish your ebook, just click a button. (Or, if you are producing your ebook your own way, you can even upload your own PDF and/or EPUB files and then publish with one click!) It really is that easy.

Learn more about writing on Leanpub