October 2021
Intermediate to advanced
420 pages
7h
English
In the previous two chapters, we have been looking at how to write modern, object-oriented, and typed PHP 8 code. That is all well and good, but there is always going to be a difference between writing valid code and writing clean, self-documenting, and easily testable code.
In this chapter, we are going to explore some ways you can move from writing code that works through to code that works and is also a pleasure to work with throughout its life cycle, from initial writing through to long-term maintenance.
This chapter will cover the following main topics:
As usual, you can find all the code samples for this chapter in the main repo for the book available on GitHub ...