DEV Community

Discussion on: Writing 'Testable' Code Feels Wrong

Collapse
 
rbseaver profile image
Rob Seaver (He/him) • Edited

At first, it did feel awkward. I had been programming for fifteen years and had never written a test. When I was introduced to testing and -- more specifically -- TDD, it was jarring. Now, five years later, I've found that testing does help me think better about design and SOLID principles and if I don't have tests I feel like I'm driving without a seatbelt. It took me about a year to get comfortable with TDD, but after repetition and practice, it feels much more natural now. I empathize with where you're at right now, though. I think over time you'll come to appreciate it, and I wish you good luck on your journey!

*Edit: I just realized that this post is several months old. Man, do I hate being late to the party!

Collapse
 
grahamthedev profile image
GrahamTheDev

Don’t worry I am even later than you, I would just call us “fashionably late” 😄