2 ms·
I never wrote tests until recently, when I started working on a functional JS library, and realized that if you're not writing them, you're doing them in your h
by maxwell 18y ago
I never wrote tests until recently, when I started working on a functional JS library, and realized that if you're not writing them, you're doing them in your head (which is slower and more error prone). This only applies to langs/libs/APIs though; for apps, I generally find the UI itself to be the best test.
- tdavis 18y agoYeah, the last thing I worked on like that was a networking engine and I could really see where tests would have helped me a lot (all existing code was covered, but not the new stuff I was writing). Hopefully I will get to work on that sort of stuff more in the future and can get into the habit of writing tests in the process.