14

for ( let i = 0 ; i < Number.MAX_SAFE_INTEGER ; i++ ) {
console.log("I will never write code before writing test again in my life 😭😭")
}

Comments
  • 6
    did you write a test for that
  • 3
  • 1
    I feel you
  • 3
    TDD is a good idea but it is very time consuming especially when you have to write tests for stuff that can't possibly go wrong... But still: write tests!!!
  • 0
    TDD as no refactoring as then I have to throw away all does amazing tests that I have just written
Add Comment