r/learnprogramming • • Mar 26 '17

New? READ ME FIRST!

825 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 • • 3d ago

What have you been working on recently? [November 28, 2026]

6 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 • • 11h ago

Resource Suggestion: Advent of Code starts tonight!

33 Upvotes

For those seeking out a more advanced programming challenge, the yearly Advent Of Code will commence on December 1st.

It's an advent calendar of programming prompts/challenges. Each evening at midnight for the first 12 days of December, a new puzzle will unlock at midnight EST. Each puzzle provides you with an input and asks you to use programming to calculate some result.

There are no limits to what languages, tools, etc. can be used. There are no prizes. The challenge is free for everyone.

The problems are often quite challenging. Even professional programmers often get stuck on some of them. This is probably not an event for folks who are just starting out with coding. But for more advanced learners, fighting with the problems and then going to the discussion threads to see the many different ways that programmers solve them can be very educational.

There's a very active subreddit for the event: r/adventofcode.

Happy coding!

Disclaimer: I am not in any way affiliated. I'm just a fan.


r/learnprogramming • • 2h ago

How do you know when you’re actually improving at programming?

6 Upvotes

I’ve been learning programming for a while, and sometimes it’s difficult to tell whether I’m actually improving.
I can follow tutorials and understand examples, but when I try to solve a problem completely on my own, I get stuck.
For those who are more experienced, what helped you move from following tutorials to confidently writing your own code?
I’d love to hear about your learning experiences.


r/learnprogramming • • 2h ago

YouTube channels worth following

5 Upvotes

Hello there,

I am new into the community and I am currently looking forward to improve my programming skills since it is a topic that I really like since I was in college.

so I would like to ask you guys which YouTube channel do you actually recommend because it has legit information about the SWE world that is worth looking into. some times you learn more from a video if the topic that you are looking for gets to complicated in the book you are reading, so I would really appreciate you guys recommendations.

Thank you in advance. I am really excited to be part of this community


r/learnprogramming • • 6h ago

Resource Where to read about programming related blogs and articles?

8 Upvotes

I recently read this blog about someone building a database with zero dependencies from scratch in Rust and it was really interesting. I also want to reduce my time doomscrolling and want to read something informative when on my phone instead and this is the kind of stuff that would help me become more knowledgeable in programming. If there any popular sites that you guys use to read programming-related articles/blogs please drop a comment. Thank!


r/learnprogramming • • 3h ago

Resource I built a 3-minute adaptive test that maps your "true grade level" across Math, Systems/CS, Science, and Verbal (Middle School to College)

2 Upvotes

Growing up, I taught myself to code at 10 and ended up rewriting my high school's programming course - yet I hated normal school because it treated my brain like one flat grade level across every subject.

I'm working on an ungraded, self-paced learning engine, and before building the full platform I shipped a quick 3-minute diagnostic to test the skill-mapping loop:https://true-grade-level.vercel.app/

It asks 12 adaptive questions (pulled from a 48-item bank spanning Middle School through College Year 3), plots your 4-axis shape, lets you click each subject to see verified skills vs. gaps, and gives you a link to overlay your shape directly against a friend's. No signup or account needed.

Would love honest feedback - especially on whether the College-tier Systems & Math questions feel accurately calibrated or if anything felt too easy/unfair. Drop your shape if you try it!


r/learnprogramming • • 5m ago

Need for an advice

1 Upvotes

I worked as a front-end dev intern at a company, and yesterday I got laid off. I'm still in Jonas Schmedtmann's React course, now in the intermediate section, and still learning.

Most people say you should be full-stack, so I have to learn to do backend. I don't know if I should learn them simultaneously or not, and at the same time I want to have a job as soon as possible.


r/learnprogramming • • 12h ago

Discussion How can I focus longer on programming?

7 Upvotes

I'm a creative person. I like creating things, and I would love to create my own apps and programs. However, I find it hard to concentrate on programming, and I found out that it's not something that I can just do whenever, for example, something like video editing. No, I have to fully concentrate on programming the whole way unless I have already learned something and I have to recall it.
I don't have ADHD. Could this be solved?


r/learnprogramming • • 1d ago

How to improve logical thinking in programming

74 Upvotes

Hey

I'm 23m working professional,

Yesterday at the office my team lead said he found a pattern in my work

He said I'm mugging up patterns and not thinking logically.

Well I do codeforces , leetcode, hacker rank to improve my programming skills but I understood that he was right

All I do is find a pattern in the problem and try to solve it

Anytime I find a new problem I'm stuck

Because I never saw that before

How to come up with my own solution?? How to improve problem solving and logical thinking???

Open to all the suggestions:)


r/learnprogramming • • 14h ago

Coding Refresher

10 Upvotes

Is there a free/relatively inexpensive resource for relearning/practicing code?

I was starting to make a lot of strides towards my projects, but after getting this Helpdesk job my time shrank and with it my coding skills.

I was mostly learning C# for unity and started a little C++ after unity pulled the Runtime fee thing, but I really want a way to be able to sit and practice code like an instrument - doing runs, scales, following sheets/tabs, ya know? Just something to help the muscle memory and build a better understanding


r/learnprogramming • • 4h ago

Aprender a programar

1 Upvotes

Buenas chicos, me gustaría saber cómo mejorar mi lógica de programación, ya que aveces me quedo pensando un montón de rato en los ejercicios que me pone el cole y se me hace súper complicado luego, quiero por tanto ir mejorando ya sea con una página con full ejercicios y así ir avanzando más. si podrían pasar páginas, app y tal sería de mucho agrado.

Gracias.


r/learnprogramming • • 23h ago

Topic I’m curious, how many languages are you “fluent” in?

25 Upvotes

Basically the title. Which language(s)? Was it work, school, or a personal project that pulled you toward said language? I’m just curious about the ways people “settle in” so to speak.

Please don’t be “clever” and say English because I said fluent instead of proficient…I beg you.


r/learnprogramming • • 8h ago

First day

0 Upvotes

Hello peeps. Just joined, First day here, and I have a personal question.

I’ve been a college student for many years now (on and off due to unexpected life changes, job losses, and ultimately a lack of financial backing.)

Because of this I’ve naturally had a lot of time to speculate what exactly I want to do. I’m a musician and enjoy computers.

My earliest memories of curiosity always return to the first time I ever encountered a broken speaker/radio receiver. I stripped it down( destructively of course) to the motherboard and played with it and probably took the housing off of every radio or broken audio device possible that year.. it’s safe to say that since I’ve always been interested in how audio works and how it’s products and things are made and how it gets used by others in their daily lives.

That said, previously, I was exploring architecture and urban planning, until my MIL convinced me to give something that blends my interest a try.

something that I could possibly see my self doing lifelong/ or atleast not eventually become annoyed by or consider cumbersome later on.

After some research and some internal assessments, music technology seemed to be that thing. Im still working out what my concentration may be, I need to finish 2 more semesters before I can transfer to the school that offers the music technology degree, but all this back story leads me to a question that I’m sure has been asked or atleast thrown around in here once or twice.

In the age of AI, can someone like me, with a rudimentary understanding of programming(python) survive the current climate of the tech industry/ world.

I know that my interest is probably a little niche, given its musical nature, but I’m fearful that that doesn’t make it exempt from the technological advancements happening right now.

I wont name the company I work for, but their AI systems have reduced my teams workload and responsibilities significantly. We all fear layoffs due to the way these systems can do 4 people’s jobs all at once.

TLDR: can a programming newbie survive the AI wave even if the systems I want to work on are music oriented?

(making new physical instruments that are possibly powered by cpu systems/ hardware/ software etc. , DAWs, plugins, and possibly DSP and things like that).

All answers welcome, thanks to those who take the time to reply in advance


r/learnprogramming • • 2h ago

How much usage of AI is okay when doing my own projects if I want to get better?

0 Upvotes

Question that has been bugging me lately:

Should I not use AI at all? Only googling and documentation?

Should I try to resolve my problem for 30 minutes then use AI?

Should I use AI but make sure that I understand what it wrote?

Is there some prompt that could guide me without giving anwser straight away so I can grow?

Does it matter?


r/learnprogramming • • 11h ago

Topic How do you learn Hosting and Deployment for free?

1 Upvotes

I have been working in MERN stack and have build some projects. But i've never really deployed any of my apps. I have searched on different platforms for resources fo learn deployment but its always tied to some paid service or a credit card information. I was thinking of building my own VPS, and somehow make it publicly accessible instead of Local Network. Can someone help me?


r/learnprogramming • • 23h ago

What programming language should I focus on as an occasional hobbyist?

6 Upvotes

As in, I sit down to code for a few hours once a month, give or take.

I've been chugging along on a text-based game in TypeScript with Vue. I'm constantly running into quirks and hidden nuances of the languages. Spending my precious hours figuring out the difference between interfaces and types, only to learn that it's pretty much personal preference, makes me feel like I'm wasting time due to the language choice.

Also the fact that I have to juggle several languages with their idiosyncracies: HTML, CSS, TypeScript, JavaScript (when it offers its own quirk), Vue, JSON. Forgetting one language then having to get back into it.

Can I have a more straightforward language? Maybe I should go to just bare JavaScript? I've used several languages in the past, including Java, C#, Python, Lua.


r/learnprogramming • • 13h ago

1st Year Tier-1 CSE: Am I too late for C++ and DSA? Already did some ML.

0 Upvotes

Hey everyone,

I am a first-year CSE student at a tier-1 college. My first semester is ending on December 4th. I am planning to start learning C++ and Data Structures & Algorithms (DSA) now, but I am worried—am I starting too late?

To give some context: I didn't learn much during the first 1.5 to 2 months of college. However, over the last 1.5 months, I have been diving into Data Science and Machine Learning. I've been studying from Data Science from Scratch by Joel Grus and Introduction to Statistical Learning with Python (ISLP).

Currently, I am quite comfortable with Python and its core libraries, including NumPy, Pandas, Matplotlib, Seaborn, and Scikit-Learn. I feel I have built a solid foundation in ML and understand the basic math behind common algorithms like Random Forests, Decision Trees, Gradient Boosting, Linear Regression, XGBoost, HistGradientBoosting, AdaBoost, CatBoost, KNN, K-Means clustering, DBSCAN, and hierarchical modeling. I am also familiar with various model evaluation techniques.

Despite this, I feel an underlying anxiety because I haven't started DSA yet. A lot of my peers are already active on platforms like LeetCode and Codeforces, or are following Striver's sheets.

Given my current progress and the peer pressure, am I actually lagging behind, or is starting DSA in the second semester perfectly fine? I would love to get some perspective and advice on how to balance my ML interest with competitive programming/DSA moving forward.

Thanks!


r/learnprogramming • • 1d ago

Cybersecurity, game development, or deep learning? I can't decide.

43 Upvotes

I'm genuinely interested in all three, and that's the problem.

I've been learning programming and recently completed MIT 6.100L. Now I'm trying to figure out what to explore next.

Cybersecurity, game development, deep learning all three sound equally exciting to me, and I can't seem to settle on one.

For those of you who've been in a similar situation, how did you decide what to pursue? Did you just pick one and see where it took you, or did you find a way to explore everything?

I'd love to hear your experiences and advice.


r/learnprogramming • • 1d ago

I have no A-levels. Am I likely to succeed in software engineering?

7 Upvotes

(Sorry if this is the wrong subreddit)

Like the title says, I have no A-levels as I went to college because I had different goals at the time. I’m happy to put in the time and money into courses like python, Java, C++ and others I need to know as well as study at the open university. So am I likely to succeed in software engineering without A-levels but with programming courses and an open university degree?


r/learnprogramming • • 20h ago

GitHub

0 Upvotes

请问在哪里可以学GitHub的入门知识?谢谢


r/learnprogramming • • 1d ago

Looking for project ideas that solve real-world problems (Java + React + microservices) - not another e-commerce clone

4 Upvotes

Hi everyone,

I'm a final-year / PG diploma student (India) and I need to finalize a project topic in the next day or so. Most project lists I've seen are full of e-commerce, "X Management System", and booking apps, and I'd like to build something that solves an actual problem for actual users.

Tech stack I'm planning to use:

- Backend: Java, Spring Boot, Spring Cloud (API Gateway, Eureka/service discovery, config server)

- Frontend: React

- Architecture: Microservices (REST + event-driven where it makes sense, e.g. Kafka or RabbitMQ)

- Auth: Spring Security with JWT / OAuth2 (Keycloak is also an option)

- Database: open to suggestions (PostgreSQL / MySQL / MongoDB, Redis for caching)

- DevOps: Docker, GitHub Actions for CI/CD

- Optional: I'm open to ASP.NET Core for one or two services if the idea benefits from it

What I'm looking for:

- A real problem you've personally faced, or seen in your city, college, workplace, or local businesses

- Something that naturally needs multiple services (e.g. auth, notifications, payments, scheduling, analytics) and doesn't force microservices just for the sake of it

- Scope that a team of [2-4] can build in about [2-3 months]

- Bonus if it has a clear MVP and a few stretch features

What I'd like from your replies:

  1. The problem statement in 1-2 lines
  2. Who the users are
  3. Which services you'd split it into (a rough idea is enough)
  4. Any gotchas you'd warn me about

I've already considered things like clinic queue management, group expense splitting, and water tanker booking, so if you have ideas beyond those, I'd love to hear them. Honest feedback on my stack choices is also welcome.

Thanks in advance!


r/learnprogramming • • 1d ago

Looking for ideas for an app to build for my high school graduation project

4 Upvotes

Hi everyone!
I’m looking for ideas for an app to develop as my high school graduation project.
I’m currently in my final year of a technical high school, studying Information Technology, and I have to create a project for my Programming class. I’ve decided that I want to build an application, but I’m not particularly good at coming up with ideas, so I thought I’d ask for your help!
Is there an app you’ve always wished existed? Something that would make your everyday life easier, either for you or your children? Maybe something interesting, helpful, practical, or just genuinely useful?
I’m open to absolutely anything. It doesn’t matter which programming language would be used, whether the app requires a database or not, or how complex the idea is. At this point, I mainly need an idea or a concept that I could turn into an actual application for my graduation project.
I’d really appreciate any suggestions, no matter how big or small!
Thanks in advance to everyone who takes the time to share an idea!


r/learnprogramming • • 1d ago

Languages What should i consider when choosing between C++ and Rust as my main programming language

4 Upvotes

Currently i only really plan on programming simple tools for myself but in the future i also need to learn programming for engineering. What should i consider when choosing between the two, what are some important considerations and what should i be aware of?