© Carleton DiLeo, Peter Cooper 2021
C. DiLeo, P. CooperBeginning Ruby 3https://doi.org/10.1007/978-1-4842-6324-2_8

8. Documentation, Error Handling, Debugging, and Testing

Carleton DiLeo1   and Peter Cooper2
(1)
Boulder, CO, USA
(2)
Louth, UK
 

In this chapter, we’re going to look at the finer details of developing reliable programs: documentation, error handling, debugging, and testing. These tasks aren’t what most people think of as “development,” but are as important to the overall process as general coding tasks. Without documenting, debugging, and testing your code, it’s unlikely that anyone but you could work on the code with much success, and you run the risk of releasing faulty scripts and applications.

This chapter demonstrates ...

Get Beginning Ruby 3: From Beginner to Pro now with the O’Reilly learning platform.

O’Reilly members experience live online training, plus books, videos, and digital content from nearly 200 publishers.