DEV Community

Discussion on: How to Write a Good Piece of Code

Collapse
mawethusidlayi profile image
MawethuSidlayi

You should account for failure in every aspect of your life, including coding. Mistakes will be made, and most often all that's needed to stop them is another set of eyes.

Liked this part, we often struggle with things that other people can pickup in a jiffy!

Collapse
taillogs profile image
Ryland G Author

Or as I tell my colleague, “come find the obvious issue with my code that I obviously just can’t see”

Collapse
mawethusidlayi profile image
MawethuSidlayi

I recently ran into an error that held me back for two days, only to find out my code was working but I was checking for result in the wrong database server