Over a million developers have joined DZone.

Everybody Fails Sometimes.

· Agile Zone

Learn more about how DevOps teams must adopt a more agile development process, working in parallel instead of waiting on other teams to finish their components or for resources to become available, brought to you in partnership with CA Technologies.

Everybody makes mistakes, otherwise we would all write bug free code. For most of us a mistake can be fixed and doesn’t have too serious consequences.

When I first released the Pico Plugin Framework, to make sure that the framework doesn’t clash with itself I enclosed the class definition in an if statement with class_exists. Now that was fine, but I hadn’t counted on the fact that if there was more than one version of the framework installed then the possibly the wrong version of the class would be loaded and used which would lead to odd behavior. Such as putting in a debug statement and then having a scratchy head moment when the debugging statement is not called.

Rather than beating myself up too much about it I got back down to developer land, did some Googling and thinking and implemented a factory pattern. The it was all good and the world could go back to sleep knowing I had fixed the problem.

So what did I take away from all this? Just a reminder of one of my personal values. Everybody fails sometimes. What matters is how you recover, and deal with the failure.

Have you failed at something? But through perseverance overcome the problem and gone on to success? If so I would love to hear about it so why not leave a comment.

Discover the warning signs of DevOps Dysfunction and learn how to get back on the right track, brought to you in partnership with CA Technologies.

Topics:

Published at DZone with permission of Chris Odell, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

The best of DZone straight to your inbox.

SEE AN EXAMPLE
Please provide a valid email address.

Thanks for subscribing!

Awesome! Check your inbox to verify your email so you can start receiving the latest in tech news and resources.
Subscribe

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}