@inthehands @futurebird @snacktraces Great advice.
Recently my son had CS coursework that involved converting a bowl-of-spaghetti logic diagram into a C++ program. Me, with 40 years of C experience, independently wrote my version of the program, he wrote his in C++. I asked him to send me his output and I sent him mine.
They didn't match, and sure enough I had messed up an AND gate.