DEV Community

[Comment from a deleted post]
Collapse
 
fjanoos profile image
firdaus janoos

So basically you are saying you hack away at the code until it works with no particular care for rationality or logic

 
stojakovic99 profile image
Nikola Stojaković • Edited

No, I said I write tests for my code. I don't know where you got the idea that writing tests involves no care for rationality or logic when it's quite the opposite case (you need to understand your code very well to be able to write good tests). Writing tests even allows you to spot some possible problems much before the release. You should read more about TDD and testing code in general.