Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Experience.

You run the code and its (mostly) obvious if it works or not.

For the first 9 years of programming I never shared my code publicly. My code wasnt useful to other people, so it wasnt a big deal.

Then I finally decided to become a professional programmer, I decided to post my best code. No one ever cared.

Today, 13 years of programming experience, I have no problem posting my code. I have written helper functions that are useful to everyone, and maybe my programs are helpful, even just for ideas.

So... don't be too hard on newbies who are playing around.



One of the worst little utilities I have ever written was the SOP for managing user permissions for 4 years after I puked it onto our internal bitbucket as a personal toy that might be helpful. This despite being awful, ugly, unfriendly, literally broken in some normal use cases, fundamentally flawed, and extremely irregular in it's usage.

It was never fixed. I don't think I even got any grief for it. At the end of the day, I had built a utility that went some of the way towards fixing a problem that nobody else was tackling. Shitty code running and working will always beat perfect code nobody ever writes. The most important lesson I have learned to be a better software developer is that if you don't write SOMETHING, no matter how awful it is, you will never get anything done, and you can always make it better.


Confidence, too. You can be experienced and still not confident.

Also, and this is a thing I've experienced a lot, you can have really good intentions but there is some whole community that just blindsides you and beats the crap out of your work and tells you how stupid you are, to show how smart they are.

I have one (fairly anodyne) friend who works for a huge corporation who never gets tired of telling me that everything I build amounts to technical debt for my clients, because they hire a lone coder. That's the least harsh thing I experience in showing my code to other coders, most of the time.

Weirdly, Copilot is eerily good at replicating my coding style... even my idiosyncratic way of naming variables. But yeah, humans?




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: