2 ms·
Any time you use the console or a printed output to debug something, that is an embryonic test assertion in the making, and all you have to do is move it to a p
by pmarreck 11y ago
Any time you use the console or a printed output to debug something, that is an embryonic test assertion in the making, and all you have to do is move it to a proper suite. ;)
If you are doing it because you are deep in some nested conditionals... you need to refactor.