News for hackers. Stuff that matters.
Re:Coding Is Hard by yuktrn on Saturday November 18, 2023 @03:08PM (#38323806)
I still struggle after 15 years into programming, and I never published or finished anything because of "judgement anxiety". I waste days, weeks, months writing and rewriting code and then I decide to abandon it because "other developers are going to see how shitty of a developer I am and it'll jeopardize my reputation forever".
Re:Coding Is Hard by ted_bunny on Saturday November 18, 2023 @07:22PM (#38326696)
Humility is my most used tool. Pick up lots of new things, embrace being a beginner.
Re:Coding Is Hard by Freedom2 on Saturday November 18, 2023 @08:15PM (#38327190)
> "other developers are going to see how shitty of a developer I am and it'll jeopardize my reputation forever"

Those who put down others or leave nonconstructive feedback, even HN commenters, are not worth your time worrying over.

Re:Coding Is Hard by clnq on Saturday November 18, 2023 @10:01PM (#38328211)
It sounds like you have much too high expectations. If you must compare yourself to others and their code, do not compare yourself with those who publish code regularly. A more grounded comparison would be between you and others who don't publish - tinkerers, students, some enterprise professionals, and so on.

Anyways, you should see some code that gets submitted as homework tasks in interviews from enterprise programmers. That is the stuff that programmers do not publish, and the range of code quality and code understanding is large. There are working professionals with multi-year experience in C++ who cannot describe in their own words the relationship between a raw pointer and a memory address. I don't have a strong opinion on that, I've seen it all. But the quality bar to feel good enough about your work is not as high as you think it is, probably.

Also... there is a lot of fanaticism and brash comments about programming online. There is a reason why the "very online" group of people doesn't overlap with experts in any almost any industry. Opinions of most experts on things like code quality are very measured, they don't earn a lot of karma or upvotes, or likes. So don't put too much weight on what you see online when choosing to publish or not publish code, a lot of online comments are for shock value.

Re:Coding Is Hard by acheong08 on Sunday November 19, 2023 @12:28AM (#38329393)
> other developers are going to see how shitty of a developer I am and it'll jeopardize my reputation forever

When I first started pushing out shit code on GitHub, I did it under a pseudonym and never tied it to my real identity. I think that really helps when first getting started since you know it’ll never affect you personally. After getting the hang of it, then perhaps tie that to yourself.

But to be honest, I doubt anyone cares much about your/my code nor would they bother judging it.

Of course, I’ve only been programming for ~5 years so I might be missing stuff.

Re:Coding Is Hard by musicale on Sunday November 19, 2023 @03:09AM (#38330357)
You may not realize just how terrible much of production code actually is! ;-)

There is some source code I've looked at that I thought was clear and easy to understand (at the time at least. I also like simple C/C++ code that compiles with "make", ideally with minimal #ifdefs and without lengthy configure scripts.) This is very rare in my experience, although I really like to see it!

Seriously, building things that are fun and interesting to you and getting them to work is one of the best things you can do. Once you have something working then you can decide whether you can just clean up your existing implementation or whether you want to reorganize it or rewrite it completely, but you'll be at the point where you understand your problem and its solution.