2 ms·
> Start with something that does nothing. Make sure you can do nothing successfully. Only then should you start making changes so it starts doing something. Ex
by bambax 3y ago
> Start with something that does nothing. Make sure you can do nothing successfully. Only then should you start making changes so it starts doing something.
Excellent advice!
Just last week I did JSON transformations in a succession of little Node JS programs that are chained by pipe. Each program does one step of the transformation; it starts its life by outputting what it receives, then evolves to actually manipulate data.
It's an approach that's quite safe and rarely breaks, and when it breaks it's easy to find where the problem is.