DEV Community

Brian Olore
Brian Olore

Posted on

Writing Code

Tap, tap tap. I clack away on my keyboard.
Red. Green. Refactor. Sometimes it's that simple.
But more often, it's not that easy.

Giving up is not an option. I'm so close. I must push through.
Try this, try that, nothing is working.

Add some logging. Looks like what I expected.
Breakpoints? Oh that would be nice, but I never set that up.
Now's not the time, let's put in some more debug messages.

More of the same, this isn't helping.
Get up, walk away, drink some water.
Wait! I think I know what it is, let's take another look.

Yup that's it. How did I miss it for the last hour?
All because I forgot to return from a map() function.

Discussion (0)