Questions about learning to code, debugging, Git, projects and the habits that make programming easier to learn.
28,740 members
A practical place for beginners, self-taught developers and experienced programmers to work through code, concepts and learning choices. Show enough context for others to understand the problem.
Community rules
Show the problem, not just the error. Include the language, goal, relevant code or error, and what you already tried.
Homework needs an attempt. Learning questions are welcome; show your thinking so replies can teach rather than replace it.
Explain the tradeoff. If several approaches work, say why you prefer one instead of declaring the others wrong.
My small command-line project works, has basic tests and solves the problem I built it for. But I keep finding reasons to rewrite it: cleaner abstractions, prettier output, one more option. Three weeks later I've learned...
I'm learning Git branches and have somehow turned a small personal project into a forest of branches named `test`, `new-test` and `fix-final`. I know branches are useful for isolating risky changes, but creating one for...
I spent a while changing retry logic in a tiny API client because my tests kept failing in different ways. It turned out the sample responses I had saved were inconsistent: one had a missing field, another had an old fie...
I open documentation for a JavaScript library and the first example already assumes I understand promises, modules and several build tools. I'm trying to solve one small problem, but every paragraph sends me to another u...
I want to automate boring work: rename files, clean spreadsheets, read CSVs and maybe call an API later. I'm not choosing a language to maximize future salary or prepare for interviews. Python looks like the obvious prac...