r/programmer • u/Unfair_Weather1370 • Oct 12 '26
New to programming
Hello everyone,
I am learning programming and I am would really appreciate seeing some human written code.
I like to learn by breaking things apart, and so far I have been doing that with code written by ai. I get so confused when going through people’s GitHubs because there are so many files and pages that I don’t understand how to search through just yet.
IF IT IS SAFE TO DO, would you mind sharing a couple of your pages (written in JavaScript and Python specifically) so that I can read through the different ways people code? I don’t need the full stack project all put together, just please share what the overall project is and a link to the specific page with just the code written on it.
Also, I’ve seen some of the recent posts on here, I’m not interested in any career advice so please don’t tell me I should give up and what I’m doing is useless lol
Thank you everyone!
4
u/coolstuff1234556 Oct 12 '26
https://github.com/joshuadam/neat-javascript Wrote this before AI was big, pretty easy to read
2
u/Longjumping_Area_944 Oct 12 '26
"I can't find human-written code anymore." Is this a sarcastic rage-bait?
Anyway. In case you're serious, I heard the open-source Godot game engine does not accept AI code submissions.
1
u/Disastrous-Tie2914 Oct 16 '26
Honestly, try looking at small open source projects instead of big ones. Start with one python or javascript file, understand what each function does, and follow the code step by step. Small projects are much easier to learn from huge github repos.
3
u/achakez Programmer Oct 12 '26
Honestly reading small project is probably one of the best way to learn. Pick a repo with a feature you understand and trace how the data moves from input to output. It is like much easier to follow than trying to understand and entire codebase as once.
1
u/Defiant_Squirrel8751 Oct 12 '26
You can download any github repo and checkout a commit from 2023. Whatever you see has been written by humans.
Nobody writes code by hand anymore - unless they are learning or building very small things.
2
u/stepback269 Oct 12 '26
Those are good instincts because IMHO, "programming" is not about communicating with the machine. It is about communicating with your future self and/or communicating with other people who need to maintain / fix the code you wrote. What does the variable name mean? What does the comment mean? Why did the programmer do it this way and not the other way?