DEV Community

Discussion on: Precision in Coding: How Crucial is Attention to Detail?

Collapse
 
cheetah100 profile image
Peter Harrison

One aspect I have seen in good developers is testing assumptions. When you assume you make an ass out of you and me. The main issue is even being aware you are making one. In debugging and diagnostics you will often find that issues are caused when assumptions are incorrect. A personal example with me was the assumption of thread isolation. A record key was stored and later reused in a thread, only it was assumed the thread would keep the key safe. Turns out not to be the case, and the thread was reused, resulting in corruption of data. An assumption caused a major data corruption because a developer made an assumption and failed to test it. I had asked for the assumption of thread isolation to be tested, but it wasn't.