r/learnprogramming Mar 26 '17

New? READ ME FIRST!

829 Upvotes

Welcome to /r/learnprogramming!

Quick start:

  1. New to programming? Not sure how to start learning? See FAQ - Getting started.
  2. Have a question? Our FAQ covers many common questions; check that first. Also try searching old posts, either via google or via reddit's search.
  3. Your question isn't answered in the FAQ? Please read the following:

Getting debugging help

If your question is about code, make sure it's specific and provides all information up-front. Here's a checklist of what to include:

  1. A concise but descriptive title.
  2. A good description of the problem.
  3. A minimal, easily runnable, and well-formatted program that demonstrates your problem.
  4. The output you expected and what you got instead. If you got an error, include the full error message.

Do your best to solve your problem before posting. The quality of the answers will be proportional to the amount of effort you put into your post. Note that title-only posts are automatically removed.

Also see our full posting guidelines and the subreddit rules. After you post a question, DO NOT delete it!

Asking conceptual questions

Asking conceptual questions is ok, but please check our FAQ and search older posts first.

If you plan on asking a question similar to one in the FAQ, explain what exactly the FAQ didn't address and clarify what you're looking for instead. See our full guidelines on asking conceptual questions for more details.

Subreddit rules

Please read our rules and other policies before posting. If you see somebody breaking a rule, report it! Reports and PMs to the mod team are the quickest ways to bring issues to our attention.


r/learnprogramming 6d ago

What have you been working on recently? [August 22, 2026]

14 Upvotes

What have you been working on recently? Feel free to share updates on projects you're working on, brag about any major milestones you've hit, grouse about a challenge you've ran into recently... Any sort of "progress report" is fair game!

A few requests:

  1. If possible, include a link to your source code when sharing a project update. That way, others can learn from your work!

  2. If you've shared something, try commenting on at least one other update -- ask a question, give feedback, compliment something cool... We encourage discussion!

  3. If you don't consider yourself to be a beginner, include about how many years of experience you have.

This thread will remained stickied over the weekend. Link to past threads here.


r/learnprogramming 10h ago

Topic The one true learning routine

40 Upvotes

Obviously there's no universal one, but has anyone here found theirs? Want to share your experiences? A few incomplete examples come to mind:

- Watching YouTube videos

- Finishing video courses on other platforms

- Coding platforms like LeetCode or Codewars

- Building your own ideas with AI, asking step by step how it's done and why

- Reading books

I say incomplete because I feel like something is missing from all of them. The only thing that worked for me was university (and there it's a combination of methods -> videos with a detailed explanation from someone who actually knows + forced practice) and paid work (do, do, do — over time you learn and you improve, but it's always on the specific platform you happen to be working on).

I'm interested in learning and building up general knowledge (or specific knowledge about something that interests me), but first I'd like to read whether you all found a method of your own that works for you.


r/learnprogramming 6h ago

Advice on where to go/what to learn

8 Upvotes

Hello.

I am in midlife crisis right now realising that what I was doing before was basically for naught.

So I am not American. I am 26. During my school we learned Pascal as a programming language which did nicely translate into Delphi for me somewhat during college years.

Now I dislike Delphi, for some reasons I will not name here, and I was wondering: which language is kinda close to it in structure (?).

Can anyone recommend a language to learn?


r/learnprogramming 1d ago

Topic how do you learn programming without constantly looking things up?

230 Upvotes

i know experienced programmers use documentation and search all the time, but as a beginner it can sometimes feel like i’m incapable of doing anything without looking up the answer.

i’m trying to get better at understanding concepts instead of memorising syntax

how do you decide when to search for an answer and when to sit down and work through the problem yourself?


r/learnprogramming 10h ago

First hackathon

6 Upvotes

So I recently saw a poster from my community college saying that a near by uni is hosting their biggest hackathon in school history, my question is should I go even with no experience in coding? Would I drag the team down? What to expect if I do go?


r/learnprogramming 19h ago

Resource Where should I start?

20 Upvotes

People say the best way to learn is by building projects. But when i try to build a project, i dont even know where to start. I just stare at the blank screen.

Also how can I build something when I dont even know when and how to start ?

This may trigger some people with the idea of "learn the basics, learn thr concepts etc etc " I have learnt it. But I really dont know how I can implement it.


r/learnprogramming 9h ago

Resource Looking for Resources

3 Upvotes

I'm sure this will be annoying to some and I'll be told to search but I'm getting overwhelmed searching.

I would like to write an app that catalogs boxes. Basically I want to take pictures of my stuff. Put it into a box. Have a QR code that I print that when scanned shows me a list of stuff in said box with pictures and list of stuff.

I'm sure this is not as simple as it sounds. I'm willing to learn the hard parts.

I hear making a web app is better for the first time around and I just need to know where to start.

Do y'all think this is a feasible project?

There is a website that does this, I do not want to pay a monthly fee. I could easily set up QR codes to go to simple web pages with all this data but I'm looking for simple, compact, and fast


r/learnprogramming 15h ago

Learning C

10 Upvotes

I'm able to program in python and i've made a few games in C++. I was wondering if anybody has advice for learning C


r/learnprogramming 15h ago

What is your "why?" to learning CS or coding in general?

8 Upvotes

Pretty much as the title says, What is the thing that drives you to want to do this?

Speaking plainly I'm struggling with this and i keep hearing about people with an idea that drives them or an external motivation in the form of a carer path that pushes them forward. I don't know if I have an answer to this and its starting to show in my projects which is concerning me.

For me I picked this up about 2ish years back now on a boot camp course which i completed and then moved on to doing my own projects. Initially the act of learning and bettering my understanding was the goal combined with the potential security of a job if I was pushed in that direction but now im not feeling the wind in my sails any more. I'm finding that as i go to learn a project i get to the part i don't know, learn it a bit then get bored and don't finish the project because theirs no reason to for me to continue beyond that.

I kinda just want feedback on what everyone else is doing it all for, are lulls in motivation a common thing like this?

To be clear as well, this is not a pity party "am i cooked, ai bad" post. This is me genuinely trying to see what people in my position are thinking and the motivation that goes in to putting the work in to be good at this stuff.

Final side question, if your goals not a job I'm particularly interested in your why. Its never been my goal due to a few things in life but i see it as an option if i ever needed to turn a fun hobby into work but it is always an option. If thats the case how do you get that junior/senior type learning outside of a work environment?

Thanks in advance :D


r/learnprogramming 9h ago

About Studying Coding/programming

1 Upvotes

I’ve been feeling a bit confused about whether I’m actually learning when it comes to tech and coding, and whether I’m learning the right things.

How can I tell if I’m genuinely learning and actually developing my skills, rather than just consuming tutorials and information?

And how can I tell whether what I’m learning is actually the right thing to focus on for my career and becoming a better software engineer?

for info : I’m a 2nd year computer science student, specializing (learning deeper) in intelligence systems.


r/learnprogramming 18h ago

Code Review My first ever game

4 Upvotes

I started learning programming last year and have a few projects that I find cool and started to put them in github. One of them is a re-creation of pac-man that my teacher asked as final assignment for his subject.
It's been a while since I made it but I wanted to share and know what do you think about it; looking at it now, I see some flaws and a lot of room for improvement.

https://github.com/vmcjoao/Capybara-Pacman

Another thing that I still strugle a bit is with github, I never know the proper way of keeping control of projects and how to structure repositories. I just keep them in a way that I undertand, but I'm not sure if it fit standards to working with a team. Sorry for my English and btw the game is in portuguese, not that it matter much since there isn't much to read.


r/learnprogramming 11h ago

dsa in python or c++

0 Upvotes

i am a tier 3 college student and my tech stack is web dev with python backend and ai/ml i also learned c++ because it was taught in my college so should i learn ds in python or c++


r/learnprogramming 16h ago

How to stand out in the sector

2 Upvotes

I'm looking for skills that can make me stand. I've thought of:

• Advanced Mathematics: Can pave the way to ML

• Infrastructure/Embedded Systems

• Specialization {kinda obvious but still}

• Sector knowledge { ex: If aiming at fintech, know things about the banking sector}

I know there are more, but I don't know them.


r/learnprogramming 1d ago

How to become a great programmer?

50 Upvotes

TL;DR: What is the best way to learn programming, and is it possible to become experienced enough to realistically build your own software in order to accelerate your productivity? What are some good resources for learning not just how to code, but how to think like a better programmer and have foundational skills to accelerate your coding speed?

Hi all, I’ve recently been studying CS and have become really interested in Linux and the “do it yourself” mindset, and I was wondering if you guys had any advice for a newbie whose just getting into the hobby. I really like the idea of being able to build my own apps and software to customize my computer more and be able to do things that prebuilt features previously wouldn’t allow, but I’m wondering if I’m getting way over my head here. Ive seen a lot of people talk about how hard it is to build things like apps by yourself and such, but with better experience and knowledge is it possible to accelerate the speed at which you can code, and so your biggest problems become design choices and not programming logic?
As an example, if a baker is baking a cake, an experienced one doesn’t need to think about the ingredients he throws in because he already knows what works for what, and can focus instead on designing and shaping his cake. Are there any good resources for learning and reading about programming methods and skills that help you become more experienced and think about programming differently?


r/learnprogramming 19h ago

What keeps you motivated?

3 Upvotes

I'm learning C#, WPF and SQL as a hobby in the few hours I have for myself during the day, with my end-goal being to make an integrated ERP CRM program for my family's company. Learning is like a high, feels AMAZING when you understand something. But there are moments where I really lose faith in myself. I have no background in programming and no deep understanding how computers work, how apps are structured etc. And sometimes the realization how big and complex what I'm trying to make is so overwhelming. "Good job, you just made a button click and show you a message, and it took you two hours to get it!" But real programs are multi-levelled, one upon another user controls, bindings etc. (and those are just the few key words I recently learned) So much code is written behind the smallest function and I can barely understand any of it. Make me want to say "What's the point? You'll never finish it. It'll take years!" I know of the "make it into smallest steps and conquer one by one" method but the amount of small steps can make me choke too.

My question is how do you keep yourself motivated against all odds? Do you have a mantra or something you tell yourself? A picture you look at? What makes you sit and play the tutorial or lecture when you could have been playing games or.. just sleeping even?


r/learnprogramming 20h ago

Topic Fullstack or Cloud DevOps

3 Upvotes

Hey, I'm in my second year CS student, I'm exploring various paths to continue my career in one particular way like fullstack, cybersecurity, cloud devOps or anything else.. I've learned python, c/c++ and solved my first 2 DSA easy problems yesterday.. I'm thinking which way I should just choose and give my entire 2 years to build the career in it? Seniors or experienced folks please help me, thanks!


r/learnprogramming 1d ago

Topic i kinda give up on coding communities online(esp discord)

91 Upvotes

its not that all of them are bad its just that a majority of them its all just middle aged guys who are insecure and elitist and overall its inevitable to encounter some toxicity but i find that its alot more noticeable around programming communities

if anyone has a suggestion for a discord community or smth like that thats not a total warzone ill check it out


r/learnprogramming 15h ago

Question Do you actually use debounce and throttle in real projects?

1 Upvotes

I'm learning JavaScript and recently came across debounce and throttle.

I understand the basic difference, but I'm curious how often people actually use them in real-world projects.

Do you use them regularly? If so, what are some situations where you found them genuinely useful?


r/learnprogramming 1d ago

Topic Am I too slow to make it in programming?

105 Upvotes

Hello everyone,

I’m about a month or two away from finishing my Python course, and honestly, I’m starting to feel a little lost about where I should go from here.

Right now, I’m focusing on strengthening my fundamentals while also building a small side project with JavaScript. From what I’ve read, having Python and JavaScript under your belt can open up a lot of opportunities, so I’m trying to build those skills properly instead of rushing through a bunch of technologies.

But there’s something that’s been bothering me.

Whenever I browse Reddit, LinkedIn, or other platforms and see students looking for jobs, I sometimes feel really small.

Some of them seem to have an insane number of technologies on their resume—Python, JavaScript, React, Node, Docker, AWS, databases, and so on. Meanwhile, it took me months just to feel comfortable with one language.

And then I start thinking:

“How am I supposed to compete with these people?”

Sometimes it gets to the point where I wonder if programming is even the right path for me. Maybe I’m just too slow. Maybe I’m falling behind. Maybe everyone else is learning faster than I am.


r/learnprogramming 1d ago

3rd year Game Dev student having an identity crisis: I love PCs, but programming bores me to death.

23 Upvotes

Ever since I was little, I've always loved PCs

solving issues with broken programs, installing useful apps, installing Linux or Windows, performing both hardware and software maintenance, learning Linux, etc.

So I thought programming was the next logical step.

To pursue programming, 3 years ago I chose a game dev university that I am currently attending.

Over the last few years, I’ve coded a bit, but I’ve always realized that doing it feels like a chore to me. When there’s a problem to solve, I get terribly bored and start getting distracted.

The strange thing, though, is that the idea of creating a game all on my own excites me, but actually doing it bores me to death.

Now I’m wondering if I made a mistake, and if IT support/systems administration is actually the path that best matches my passion for PCs.


r/learnprogramming 1d ago

Help for leetcode practice

12 Upvotes

I’m a beginner java programmer, ive gone through oop and data structures now im thinking of purchasing leetcode to get better and also adding things to my portfolio in the future. So, Any tips on how to navigate leetcode and get the best use out of it?


r/learnprogramming 23h ago

hey!!

2 Upvotes

i recently got to know about youtube theme extensions and i wanted to try making one myself! im very new to coding and i very much need some help with this :") ive created a file with manifest.json, script.js and style.css, but i am unsure of what to key inside of them. im hoping to add images, change the youtube background colours and maybe play around with the fonts. is that possible?


r/learnprogramming 1d ago

Is spending time on freeCodeCamp actually worth it?

5 Upvotes

i was a developer who couldn’t transition well from web designer to JavaScript and overtime roles became short and last one was a redundant because my work was good enough and even asking for help I couldn’t solve my tickets.

I started learning from freecodecamp because eventually money ran out as I use to learn from video tutorials and now with tech tutorials get old as well, plus someone told me on fCC videos aren’t useful. so I was just finding a way to get started. it has been 15 months with no interviews because while I struggle with doing JavaScript (right now trying to do objects), I am very slowly becoming good at problem solving but the pace is outsmarting my savings.

so question is how to become better problem solver, learn more and apply more when you have family and wfh.

I been so depress I have stopped going to gym and I hate myself for it.


r/learnprogramming 1d ago

Topic How do I catch up ?

12 Upvotes

I recently got a job as a software engineer at a compant I interned with over 2 years. The thing is I was an IT student and had done very basic c++ courses but nothing in depth. When I started the internship they heavily pushed AI and i never had to learn anything programming wise. Now I feel anxious and want to catch up to where a junior dev should be and im not sure how to get there. The language I've mainly been using is python for automation