DEV Community

Cover image for Scared to Post Your Code in Public? Post It Here. I'll Run It and Reply to Every One.
AheadKit
AheadKit

Posted on

Scared to Post Your Code in Public? Post It Here. I'll Run It and Reply to Every One.

What is the worst that happens if strangers see your beginner code?

I know the fear behind that question, because I have sat with my finger over a Post button, heart doing something stupid, reading my own 30 lines like they were evidence in a trial. That was me — a student in Bangladesh, learning from free videos, convinced that real programmers would spot me in seconds.

This post is the story of what actually happened when I finally posted, and then it is a standing invitation, with a promise I intend to keep.

The night before my first public post

I rewrote the post four times. I deleted the code and re-pasted it. I worried about the title, the formatting, whether the question was too basic, whether "too basic" was even a thing people got judged for.

The code itself was a small script that renamed files. Nothing grand. But it was mine, it worked, and showing it felt like handing someone my notebook and waiting to be laughed at.

What actually happened

Almost nothing. 🙂

A few people saw it. Nobody laughed. One person pointed out a cleaner way to write one line — kindly, in one sentence, the way you would tell a friend their collar is folded. That comment taught me more than the hour of worrying did.

The monster I had built in my head simply was not there. Most people scrolling past beginner code are beginners who posted theirs last month, or people who remember being us.

What I can't promise you

Honesty section, because this needs one. I am a learner, not an expert — a naval architecture student who codes on the side, not an engineer with a decade in industry. I will sometimes say "I don't know," because the alternative is making something up, and your code deserves better than that.

I am also a student with exams, so a reply might land the next day instead of the next hour. Slow is fine. Silence is what I am promising not to give you.

The deal

Here it is, plainly. Post your beginner code in the comments of this post — any language, any size, working or broken, finished or stuck halfway.

I will run it. I will reply to every single one.

Each reply will tell you three things: what your code actually does when it runs, one thing in it that genuinely works, and one specific thing to try next. No mockery, no "just Google it," no showing off. If it errors, I will tell you what the error says in plain words and where I would look first.

Stuck halfway is not a failure here. Halfway is exactly the stage this post exists for.

So, the invitation itself, one more time, because this is the whole post:

Paste your code below. The ugliest, most beginner code you have. I will run it, and I will answer you like a person — because that is what I needed someone to do for me.

Top comments (0)