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.

Collapse
 
nlxdodge profile image
NLxDoDge

Assumptions indeed are one of the biggest issues while coding. If I am not sure about something I just always ask.

To bad that I had to ask a lot of things in the first couple of weeks when I joined 😥. But on the other side, some seniors that are being brought in still ask me mundane stuff that I already explained multiple times to them, but they cannot seem to remember 🙄