r/learnprogramming • u/Maleficent-Treat-413 • 5h ago
Topic Been stuck in "tutorial hell"esque situation for a decade.
So I have been programming in and off for fun for maybe 10 uears now. I often start projects and get like 25% through then abandon. This is often because I simply cannot think of how to continue. I dont want to be in tutorial hell so I dont use tutorials but then when I get to the edge of my knowledge I just dont have any idea of how to proceed. The advice is often to just power through and make stuff but how can I do that if I literally cannot think of a way to continue. For example I tried to make a library app kind of console thing where you can register books then loan them with accounts (but very barebones) and I finished the data classes for Books and Accounts and stuff, I even learned a bit of SQL and SQLite to kind of use a database but then when it came time to "glue it together" I just dont know how to continue. Theres just a block idk. How do I approach things like this?
13
u/tcpukl 5h ago
You need to learn to research. That's how you learn new stuff. Research doesn't mean tutorials. Sometimes it's documentation. Sometimes it's a maths book.
I learnt 3d programming in assembler from a book in the 90s as a teenager.
2
u/bucketfullofmeh 5h ago
Sadly at this point the answer is going to devolve to AI.
3
u/FooWho 5h ago
That would be the part where maybe you DO use a tutorial. See how, in the tutorial, they glue together the data classes and the database.
Then you go back to your project and try to apply what you learned from the tutorial to the project you're building.
2
u/SharkSymphony 4h ago
If you're spent 10 years on it and haven't gotten anywhere, I don't think your problem isn't that you don't know how to proceed. I think your problem is that you lack the commitment and focus to work through the difficulties.
Pick up that library app again and let's get it working. You need a SQL client library that's compatible with SQLite, and you need to configure it to point to a file on disk where you want your database to live (that's how SQLite works). Then you need to decide how you're going to set up the SQLite tables: some people like to do that through a special command on their app; I prefer a separate tool, but either works. Then test it!
What stack were you using? We can probably help you with the pieces you're missing.
1
u/lphartley 5h ago
Start with a small working use case so that there's nothing you need to glue. Seems like you are doing it backwards, first creating all the code and then trying to make it work. Should be the other way around, make something small work and then improve it.
1
u/LALLANAAAAAA 5h ago
Why are you trying to make a "library app kind of console thing" ?
1
u/ship_it_slowly_dev 3h ago
The "I can't think of how to continue" wall is really a planning problem, not a knowledge problem. Most abandoned projects die at 25% because the next step is fuzzy.
What helped me: before writing any code, write the next 5 steps as plain sentences, each small enough to finish in one sitting. For your library app: "add a loan method that takes a Book and an Account", "stop a book from being loaned twice", "list all books an account has out", "make an account unable to loan more than 3", "save everything to a JSON file". When you hit a step you can't write a sentence for, that's the actual thing to go research, and now it's a specific question you can google instead of a vague feeling of being stuck.
Also, finish a worse version of something before polishing. A library app that's ugly but fully works teaches you more than one that's 25% done and well designed. Shipping tiny things to the end builds the part you're missing.
1
u/TheOfficeWM 2h ago
Build one small thing with a finish line and look things up only when the project needs them. Tutorials feel like progress because you finish them, but the learning sticks when you get stuck on your own problem and have to dig yourself out.
1
u/lanternkettle 2h ago
For the library app, I'd try getting just one loan working first: a function that checks the book in SQLite and records the loan, then a menu option that calls it. That would leave you with one small thing to figure out at a time
1
u/AquamarineC 1h ago
What helped me was making the next step so small it feels silly. Not "glue it together", but "one menu option that lists every book from SQLite".
Write out in plain English what the program does when you run it, as a numbered list. Each line turns into a function or a small chunk of code.
When I'm stuck, I search for that one small thing (like "read all rows from SQLite" in your language) and read the docs for it, not a full tutorial.
Ugly but finished beats clean and abandoned. You can tidy it up once it works end to end.
1
u/mc_pm 1h ago
As far as I know there is no curriculum specifically for this.
You tried to do something, you hit a wall, you stopped. We all hit walls. What you do next is the big question and for you it seems to be "give up for another year".
The next step is: the next step. There is always a next step, and we always have to figure it out. Pretty much the entire job of a programmer is to solve one problem after another - I'm 35 years in to this career and I still am figuring things out at each stage.
So - what, specifically, is the next step that you don't know what to do? And what have you already done to get past it?
1
u/Dazzling_Music_2411 1h ago edited 1h ago
There's no block, "idk" or otherwise.
If you read the docs they would show you exactly how to glue it together. Do you expect the knowledge to drop into your skull miraculously from heaven? You have to make an effort too. If you really don't know this after 10 years of programming, then sorry, programming is not for you.
Of course it's far more likely you are trolling, since you are not asking a specific question, so I'm marking this as an example of a low effort troll post. Reported and downvoted.
•
u/meagerascent_06 0m ago
The edge of your knowledge is exactly where you need to be. Write down the next tiny step you can't figure out, then look up just that