PHPnews.io

Effective Debug Tricks: Narrow Scoping

Written by Tomáš Votruba / Original link on Feb. 1, 2021

Writing a code that only you work with is easy. Debugging such code is a bit harder. Writing a code for someone else review is quite hard. The code must be understandable to the other reader to pass the code review.
How hard is reading a code that someone else wrote three months ago?
But what about debugging a code that someone wrote a year ago?

tomasvotruba

« I bid you farewell January, and hello February 2021 👀 - Using composer patches »