DEV Community

Discussion on: 5 ways to refactor if/else statements in JS functions

 
sylwiavargas profile image
Sylwia Vargas

Yeah I might try it in some future blogs. I've always been a fan of TDD but never made space to properly go through all the phases and the process because I felt there was "not enough time". I'm slowly changing this mindset not only because I feel like TDD is really awesome but also because of how the "not enough time" mindset impacts me and my ability to code at times.