re: Coding practices your future self will love you for VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Love it! And it's a good reminder not just for beginners! I would add a number 7: Write test, just a few, for the most complex parts.
 

Thank you!

Testing is definitely required! Not just for the complex parts, but for the simple ones as well. You never know when the simple part becomes complex :)

 

I agree, but if testing is not part of your routine starting with "test absolutely everything" will result overwhelming and you may just give up entirely.

A good approach is to start where it hurts. Then add tests for every bug you find. Then if you still have time and budget feel free to go all in!

It also depends if you are building a library (I'd test as close to 100% as possible in that case) or a Gatsby website (I'd maybe only test a few UI components)

code of conduct - report abuse