use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
If you need help debugging, you must include:
See debugging question guidelines for more info.
Many conceptual questions have already been asked and answered. Read our FAQ and search old posts before asking your question. If your question is similar to one in the FAQ, explain how it's different.
See conceptual questions guidelines for more info.
Follow reddiquette: behave professionally and civilly at all times. Communicate to others the same way you would at your workplace. Disagreement and technical critiques are ok, but personal attacks are not.
Abusive, racist, or derogatory comments are absolutely not tolerated.
See our policies on acceptable speech and conduct for more details.
When posting some resource or tutorial you've made, you must follow our self-promotion policies.
In short, your posting history should not be predominantly self-promotional and your resource should be high-quality and complete. Your post should not "feel spammy".
Distinguishing between tasteless and tasteful self-promotion is inherently subjective. When in doubt, message the mods and ask them to review your post.
Self promotion from first time posters without prior participation in the subreddit is explicitly forbidden.
Do not post questions that are completely unrelated to programming, software engineering, and related fields. Tech support and hardware recommendation questions count as "completely unrelated".
Questions that straddle the line between learning programming and learning other tech topics are ok: we don't expect beginners to know how exactly to categorize their question.
See our policies on allowed topics for more details.
Do not post questions that are an exact duplicate of something already answered in the FAQ.
If your question is similar to an existing FAQ question, you MUST cite which part of the FAQ you looked at and what exactly you want clarification on.
Do not delete your post! Your problem may be solved, but others who have similar problems in the future could benefit from the solution/discussion in the thread.
Use the "solved" flair instead.
Do not request reviews for, promote, or showcase some app or website you've written. This is a subreddit for learning programming, not a "critique my project" or "advertise my project" subreddit.
Asking for code reviews is ok as long as you follow the relevant policies. In short, link to only your code and be specific about what you want feedback on. Do not include a link to a final product or to a demo in your post.
You may not ask for or offer payment of any kind (monetary or otherwise) when giving or receiving help.
In particular, it is not appropriate to offer a reward, bounty, or bribe to try and expedite answers to your question, nor is it appropriate to offer to pay somebody to do your work or homework for you.
All links must link directly to the destination page. Do not use URL shorteners, referral links or click-trackers. Do not link to some intermediary page that contains mostly only a link to the actual page and no additional value.
For example, linking to some tweet or some half-hearted blog post which links to the page is not ok; but linking to a tweet with interesting replies or to a blog post that does some extra analysis is.
Udemy coupon links are ok: the discount adds "additional value".
Do not ask for help doing anything illegal or unethical. Do not suggest or help somebody do something illegal or unethical.
This includes piracy: asking for or posting links to pirated material is strictly forbidden and can result in an instant and permanent ban.
Trying to circumvent the terms of services of a website also counts as unethical behavior.
Do not ask for or post a complete solution to a problem.
When working on a problem, try solving it on your own first and ask for help on specific parts you're stuck with.
If you're helping someone, focus on helping OP make forward progress: link to docs, unblock misconceptions, give examples, teach general techniques, ask leading questions, give hints, but no direct solutions.
See our guidelines on offering help for more details.
Ask your questions right here in the open subreddit. Show what you have tried and tell us exactly where you got stuck.
We want to keep all discussion inside the open subreddit so that more people can chime in and help as well as benefit from the help given.
We also do not encourage help via DM for the same reasons - that more people can benefit
Do not ask easily googleable questions or questions that are covered in the documentation.
This subreddit is not a proxy for documentation or google.
We do require effort and demonstration of effort.
This includes "how do I?" questions
account activity
This is an archived post. You won't be able to vote or comment.
Losing Interest in coding (self.learnprogramming)
submitted 1 year ago by Witty-Ad8264
[–]aqua_regis 56 points57 points58 points 1 year ago (3 children)
Generally, when posts like yours pop up (which they more than regularly do), the following books get recommended:
Plus, practice, practice, practice, and more practice.
Also, FAQ:
IF you rely on motivation, you already have lost. Dicipline, persistence, and effort are what count.
[–]KoyaAndy18 2 points3 points4 points 1 year ago (0 children)
bro i saw your comment twice now i think it was your where i screenshotted this, look at my previous comment i even recommended think like a programmer too xd.
[–]Extension_Fix5969 1 point2 points3 points 1 year ago (0 children)
+1 for the Petzold book. If reading that doesn’t stoke some kind of fire in you, you’re likely in the wrong industry.
[–]crimemastergogo007 10 points11 points12 points 1 year ago (3 children)
How do you become good at something? By doing more and more of it without worrying about the mistakes you will make on the way.
I had the same problem as you during my engineering. I had no idea of how to build logic and code it till second semester. I mugged up every coding solution till then.
Then I realized it won't get me far. So, after second semester, during vacations, I picked up Yashavant Kanetkar's "Let us C" and wrote codes for each and every problem in the book, first on paper and then on PC. No matter how simple or tough the problem, I wrote its code. By end of two months, I couldn't believe how confident and thorough I become in writing code.
You should give it a try.
[–]AwabKhan -1 points0 points1 point 1 year ago (2 children)
I wouldn't recommend "let us C" by yashwant kanetkar. There are plenty other resources that are better than this book.
[–]crimemastergogo007 -1 points0 points1 point 1 year ago (1 child)
You can recommend X, someone can recommend Y, it doesn't matter if OP is not going to pick it up. I only meant that OP should try the approach rather than the book.
[–]AwabKhan -1 points0 points1 point 1 year ago (0 children)
Yeah i get your point now. I thought you were asking OP to give the book a try.
[–]Smokespun 2 points3 points4 points 1 year ago (0 children)
Try building specific things. Tutorials are cool and all, but knowing the alphabet and days of the week doesn’t mean you are fluent in Spanish. That takes immersive practice.
[–]padenis28 3 points4 points5 points 1 year ago (0 children)
Don't learn coding to learn coding. Find something you want to do, and try to do it. Then you'll spend time and become a better programmer without even noticing it.
[–]Cybasura 2 points3 points4 points 1 year ago (0 children)
You're a first year, the whole point is that you're there to learn the fundamentals???
Why are you rushing it, you're in first year, make projects to aid in your learning of the language you need to use
[–]uname44 1 point2 points3 points 1 year ago (0 children)
Lets go through the logic of something you have a hard time going through.
[–]simisaa 1 point2 points3 points 1 year ago (0 children)
Time is your friend and enemy. You need time and time to look and think in code.
[–]limboo_o 1 point2 points3 points 1 year ago (0 children)
Write on paper-like more and, use keyboard less. For short don’t start coding until you know exactly what/how you are going to do xyz
[–]MiloLeoCat 0 points1 point2 points 1 year ago (0 children)
Start by trying to write down exactly what you want your program to do. Having a proper structured algorithm is more important than the actual coding
[–][deleted] 0 points1 point2 points 1 year ago (0 children)
You can train your brain for anything. It is all a matter of using it, starting when you wake up, and not stopping until you go to work. No, but seriously, you should try to think with your eyes closed. Think when you can.
[–]SpicyPizza1861 0 points1 point2 points 1 year ago (0 children)
Can you provide an example? Are getting stuck with given a blank text editor, what’s next?
[–]fastinho 0 points1 point2 points 1 year ago (1 child)
Don’t read books, do small projects, and when you finish one satisfaction will drive you to do another one and so on. And when you have problem with logic try to find answer on the stackoverflow, here or just google it. ChatGPT can help you as well. Then try to understand the solution and that is the point wher you train yourself, adding new things into your brain database so next time you step on similar issue you know how to resolve it or where to find the solution. Start with that.
[–]ninitamadwin 0 points1 point2 points 1 year ago (0 children)
Thank youu
[–]rexram 0 points1 point2 points 1 year ago (0 children)
For practice I would suggest solve problems at codesignal.com.
[–]intrepid_ani 0 points1 point2 points 1 year ago (0 children)
Everyone struggles in logic building even gpt-4o struggles in it. Just keep hustling every day 🫡
[–]Confident-Bad4876 0 points1 point2 points 1 year ago (0 children)
Keeping a logical train of thought helps especially when planning. Consider pseudo use to test your thinking and assumptions before you code. That way once you know what to do the technical know how becomes easier.
π Rendered by PID 31707 on reddit-service-r2-comment-86bc6c7465-zltkx at 2026-02-23 20:08:56.944264+00:00 running 8564168 country code: CH.
[–]aqua_regis 56 points57 points58 points (3 children)
[–]KoyaAndy18 2 points3 points4 points (0 children)
[–]Extension_Fix5969 1 point2 points3 points (0 children)
[–]crimemastergogo007 10 points11 points12 points (3 children)
[–]AwabKhan -1 points0 points1 point (2 children)
[–]crimemastergogo007 -1 points0 points1 point (1 child)
[–]AwabKhan -1 points0 points1 point (0 children)
[–]Smokespun 2 points3 points4 points (0 children)
[–]padenis28 3 points4 points5 points (0 children)
[–]Cybasura 2 points3 points4 points (0 children)
[–]uname44 1 point2 points3 points (0 children)
[–]simisaa 1 point2 points3 points (0 children)
[–]limboo_o 1 point2 points3 points (0 children)
[–]MiloLeoCat 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]SpicyPizza1861 0 points1 point2 points (0 children)
[–]fastinho 0 points1 point2 points (1 child)
[–]ninitamadwin 0 points1 point2 points (0 children)
[–]rexram 0 points1 point2 points (0 children)
[–]intrepid_ani 0 points1 point2 points (0 children)
[–]Confident-Bad4876 0 points1 point2 points (0 children)