DEV Community

Discussion on: Why do great developers love writing tests?

Collapse
 
quii profile image
Chris James • Edited

All excellent points.

I've worked in a few environments, some with tests some without. Some of them were even huge systems that had no unit tests.

The people working there were so smart, so very clever. They had to be to keep it all working. I couldn't really take it, it was just too taxing for me.

For me it's a matter of scale. Tests let me work on big complicated systems because they document how a system works and gives me freedom to play with specific areas of the system without fear of breaking them. Plus I don't have to understand the whole system in order to make changes.

Working in a TDD manner I almost describe it as "dreamy". You just break down the problem into small tasks (imo, this is the #1 skill a software developer needs to learn) and then gradually iterate, writing tests for more requirements and refactoring slowly and surely with minimal stress.

It's why I work hard on this quii.gitbook.io/learn-go-with-tests/ because i 100% believe that TDD is an enabler of high quality, less stressful software development

It's why I advocate for releasing on fridays too dev.to/quii/why-you-should-deploy-...

Collapse
 
anabella profile image
anabella

I've been meaning to learn go so I can join the backenders mob programmings (and actually follow along).

This might be a sign from destiny.

Collapse
 
quii profile image
Chris James

Yes!

Go is a lovely language to start with it too because it's all built in.

Do let me know if you give it a go (pun intended) and I live for feedback.

Better still, contributions very welcome

Thread Thread
 
anabella profile image
anabella

Will do!