DEV Community

Cover image for The Subtle Sign You're Growing as a Coder
Cesar Aguirre
Cesar Aguirre

Posted on • Originally published at canro91.github.io

The Subtle Sign You're Growing as a Coder

I originally posted this post on my blog.


You know you're growing when:

  • You don't get stuck on compilation errors for missing semicolons
  • You're not rushing to code without doing some planning
  • You know when your code looks or feels funny

But there's another subtle sign of growth:

You let others into your code and you don't take critiques on your code personally.

And for so long, I failed miserably at that test.

Being an overprotective coder

Oh boy! In my first job, I didn't want anyone else to touch my code.

Each team member worked solo, with almost no collaboration. And after finishing Clean Code, I thought only my code met all the standards. I didn't want anyone else to infect it.

Then at my next job, it was almost the same story.

Along with a small team, I worked on the core features of the main app. Only a few touched it. And it hurt to see my code rewritten during the app redesign to make it scale.

My code was a precious ring, nobody else should touch.

Learning not to be one with the code

After moving between projects and companies, I eventually learned that I'm not my code.

Critiquing my code isn't critiquing me.

Bugs happen.
Edge cases get missed.
Requirements get misunderstood.

And when that happens, someone will pick my code and say "Who wrote this crap?" The same way I said that when I inherited somebody else's codebase.

Get your code in front of others. Let them change it, tweak it, and critique it.

That's the key to growing as a coder.

And that's why I wrote Street-Smart Coding: 30 Ways to Get Better at Coding. Nobody told junior me that writing simple code others could inherit and improve was part of growing.

Grab your copy of Street-Smart Coding here This is the roadmap I wish I had on my journey from junior to senior.

Top comments (8)

Collapse
 
baltasarq profile image
Baltasar GarcΓ­a Perez-Schofield • Edited

Great advice. As a lecturer, I'm used to read a lot of code, but for the part of my code being criticized... well, I submitted my code to an AI the other way and laughed out loud, in part because of self-embarrassment and in part because of the AI itself.

Collapse
 
canro91 profile image
Cesar Aguirre

I'm used to read a lot of code

That's a skill nobody really teaches us.

well, I submitted my code to an AI

That's my favorite use case atm. AI has caught me copy-pasting a lot :P

Collapse
 
andrescass profile image
Andres Cassagnes

in my current position, 10+ years here, everything we do (documents, code, pcb, everything) is reviewed, corrected, critiqued.
It tooks me years to finally accept that the critics to my work is not a critique directly made to me, even more so when I myself have to review, correct and criticize other's work, and I've never made it personal.

Collapse
 
canro91 profile image
Cesar Aguirre

This is the way! :)

Collapse
 
peterwitham profile image
Peter Witham

"Critiquing my code isn't critiquing me."
This is such an important point to get across and for sure one of the hardest ones each of us has to deal with.

Collapse
 
canro91 profile image
Cesar Aguirre

For sure, Peter. It takes time and effort to detach ourselves from our code. Code should be a collaborative effort.

Collapse
 
aghoribrahman profile image
Mohit Trivedi

Interesting perspective, I must say. Taking critique from other developers is knowledge in disguise.

Collapse
 
canro91 profile image
Cesar Aguirre

Great take! Thanks for your comment.