Over a million developers have joined DZone.
{{announcement.body}}
{{announcement.title}}

Don’t Flaunt Your Best Code, Show Us Your Broken Crap

DZone's Guide to

Don’t Flaunt Your Best Code, Show Us Your Broken Crap

· Integration Zone
Free Resource

Modernize your application architectures with microservices and APIs with best practices from this free virtual summit series. Brought to you in partnership with CA Technologies.

What is the difference between intelligence and wisdom?

Some would venture to say experience, and I would agree to a point. I believe it is our failed experiences that continue forcing life’s lessons down our throats. An additional injection of humbleness through humility, and we have the perfect dose of much needed medicine to aid us in our journey towards personal improvement.

So what is stopping us from traveling down the path of enlightenment through failure? Simple. The fear of perceived failure.

Notice I did not just say “failure”, “fear”, or even “fear of failure”. What I am after is “perceived failure“, which can be interrupted into many things including:

Perceived lack of…

  • Knowledge
  • Artistry
  • Intellect
  • Ability
  • Skills

You need to quit sweeping known uncertainty under the rug and this includes your code.

I grow weary of code reviews where the author (with a nice sized grin) proudly shows their clean solution, and then [being the asshole I am] call to see where they hid all of their crap code that I know is truly holding the house of cards up. Their grin quickly turns to a defensive posture, and the true code review begins…

I don’t care what you best code is - I want to see the weakest link! You and your solution are only as strong as the weakest link, so let’s take a look at it and improve it. We all have them, so let’s quit hiding them. Sure you might not look like superman now, but at least you won’t look like a liar later when your bad designs and hacks come back to haunt you (and they will).

Find it hard to open up to a group of people? Find those one or two buddies you always show your crap to. They don’t even have to work on the same team or even in the same company as you. As long as you think they can help you out, confide in them and allow yourself to take criticism.

The road to being better is to simply allow yourself to become better. Your pride is your own worst enemy in this scenario, and overcoming it will start to open many doors that lead to learning opportunities.

So after all this, why should you never flaunt your best code? Because self pride leads to a lack of humbleness…plus it’s probably not all that great to start with.

 

The Integration Zone is proudly sponsored by CA Technologies. Learn from expert microservices and API presentations at the Modernizing Application Architectures Virtual Summit Series.

Topics:

Published at DZone with permission of Maxfield Pool, DZone MVB. See the original article here.

Opinions expressed by DZone contributors are their own.

THE DZONE NEWSLETTER

Dev Resources & Solutions Straight to Your Inbox

Thanks for subscribing!

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

X

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

{{ parent.tldr }}

{{ parent.urlSource.name }}