DEV Community

Mugoya Dihfahsih
Mugoya Dihfahsih

Posted on


Is this a developer Syndrome?

I can spend hours trying to fix a bug, but after finding a solution I regret the time I spent looking for the root cause of the error. I start sobbing 'maybe am not good at coding, do good programmers take all that long to fix such a simple bug'

Top comments (2)

raslan profile image
Ali Raslan • Edited

There's something important to understand here: those hours fixing a bug are part of the programming process, rather than being somehow "parallel" to other programming you could have been doing. A "good" programmer is one who can face errors and actually fix them, as you did. Debugging is part of the development process and there's nothing to be ashamed of when it takes a little longer than expected.

dihfahsih1 profile image
Mugoya Dihfahsih

Wow thanks @ali , at least that is a point to ponder about next time I face this syndrome.

An Animated Guide to Node.js Event Loop

Node.js doesn’t stop from running other operations because of Libuv, a C++ library responsible for the event loop and asynchronously handling tasks such as network requests, DNS resolution, file system operations, data encryption, etc.

What happens under the hood when Node.js works on tasks such as database queries? We will explore it by following this piece of code step by step.