News for hackers. Stuff that matters.
Re:Serverless: A lesson learned the hard way by chrisco255 on Thursday August 10, 2017 @05:43PM (#14984593)
> because of a refactor, I forgot the return statement and it just continued overwriting the file again

Unit tests are specifically useful for refactors. You can refactor your code and ensure that it behaves as intended. Integration tests are great, too, don't get me wrong. Either or both would have probably caught this.

There are no comments on this comment yet.