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

My life is over

51 Upvotes

I completed my masters (MCA) around 2025 May. From then I tried to code for a month and joined the data analytics course which lasted from June 2025 to Feb 2026.

The institution gave no placement and i had to search myself online and got 0 mailbacks. After wasting a year trying for data analytics jobs i gave up and shifted my career through coding and non technical roles. Again i tried to code but somehow i am stuck at "Tutorial Hell" they say and i can't progress further even though I tried my best.

In september 2026, I got an offer for a non technical role and i have joined the company. I got 80% in their assessments and they exited me from the organization since they require 90% to qualify. Now it's december 2026 and i am trying to figure out where the hell I should go and what I can even do and learn atp?

My tech stack has been : Python, MySQL, PowerBI, Excel, Google looker studio

I got this feeling like i'm nothing good to get a job. Thinking i should quit this job hunt. Whatever I learn, i am forgetting it after weeks


r/learnprogramming • • 3h ago

Topic Been stuck in "tutorial hell"esque situation for a decade.

10 Upvotes

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?


r/learnprogramming • • 21h ago

Tutorial is Harvard CS50 and it's other courses still useful/relevant?

133 Upvotes

I wanted to ask if you all think that the CS50 courses and the other harvard courese for computer science are worth it for learning AI/ML and all that in this day and age of AI constantly evolving?


r/learnprogramming • • 5h ago

I need help

5 Upvotes

I'm a 19 year old studying IT (Software Engineer) and I really love the coding aspect of it. I don't really have anything to my name but that I've learned Delphi in High school and just finished a module 'procedural programming' using C++. Now that its holidays/festive season i really wanna get going and learn more. I'm kind of stuck on what i should actually learn and whether or not I should build something or just stick to learning a new language because I haven't done anything to really build a portfolio except for going through my current degree.

I'm also trying to find my footing when it comes to choosing which direction I want to take in software development. Whether that's front-end, back-end, or something I'm genuinely passionate about, like mobile app development or even game development, since I've always enjoyed playing games. I'm still exploring my options and trying to figure out what interests me most.

P.S I was really shocked with how much help I got with the previous question so thank you so much.


r/learnprogramming • • 36m ago

Resource I got tired of mentally diffing code tutorials, so I built a React/MDX library that highlights what changed on every click

2 Upvotes

Reading code tutorials usually means scrolling back and forth to figure out what actually changed between steps. I built unfold-mdx so you can learn through code walkthroughs at your own pace, with the new parts highlighted as you step forward.

Instead of manually tracking line numbers or adding diff markers, you just write each step as a full snapshot (the explanation so far + the code so far). It compares consecutive snapshots on its own and highlights the new sentences and code lines on every Next click.

What's in 0.1.0:

  • Shiki syntax highlighting
  • Step-synced highlights on images and Mermaid/SVG diagrams
  • Grid layouts, resizable panes, and custom controls
  • Headless by default with an optional theme, SSR fallback, and keyboard navigation
  • An llms.txt file so AI coding agents can write walkthroughs in the right format

r/learnprogramming • • 9h ago

So i am.a first year student in cse

8 Upvotes

Please guys can yall tell me how to actually enter numpy and pandas I really wanna learn ml and create projects but I am spiralling in the loop of basics I do some normal sums and I forget again i do the same sums should I actually work on sums in python or move on to core logics like libraries i am confident tht I can do anything related to nested loops but should I actually move onto numpy or should I master file io or other things before moving on please suggest


r/learnprogramming • • 8m ago

Tutorial Self-taught developers who are extremely good, how did you learn and what roadmap did you follow to become better and not lose track?

1 Upvotes

I would appreciate your tips. Thanks in advance!


r/learnprogramming • • 10m ago

What's a programming habit you wish you had developed much earlier?

1 Upvotes

I'm curious about the small habits that experienced developers find genuinely useful but beginners tend to overlook.


r/learnprogramming • • 19m ago

How do you get better at understanding unfamiliar codebases and implementing things independently

1 Upvotes

I'm an engineering student, currently learning full-stack development and DevOps. I've completed full-stack development using JavaScript and have a decent understanding of Docker fundamentals.

Recently, I tried containerizing an existing web application that was built using Python and involved ML models and datasets. That's where I realized I'm struggling with something.

I understand what individual Docker instructions do and why we use them. For example, I know why we use COPY, RUN, WORKDIR, CMD, volumes, etc. I can understand a Dockerfile when someone explains it to me.

But when I open an unfamiliar codebase and have to write everything from scratch, I get stuck.

I don't know exactly how to approach the codebase, what files to inspect first, how to identify dependencies, how to understand the application's execution flow, or how to translate all that information into a Dockerfile and Docker Compose configuration.

The frustrating part is that I understand the concepts, but I struggle to apply them independently.

I want to improve this skill rather than keep relying on tutorials or AI-generated configurations.

For developers who have experience working with unfamiliar codebases:

  1. How do you approach understanding a new codebase when you first open it?
  2. How do you identify what needs to go into a Dockerfile without already knowing the application's internals?
  3. How did you develop the ability to write configurations and scripts independently instead of following existing examples?
  4. Are there any practical exercises, workflows or resources you'd recommend to develop this problem-solving ability?

I understand that I'm still a student and this comes with experience, but I'd rather build the right habits early.

I'd appreciate practical advice, especially from people who have worked with real-world projects and production codebases.


r/learnprogramming • • 6h ago

what do i want do?

3 Upvotes

while looking in this sub for long time to pick a language to begin with, i reaching to the point where everyone asks this question, so im also asking it here


r/learnprogramming • • 57m ago

Advice on learning code for an ixd student

0 Upvotes

Hello , I’m an ixd student and learning how to program caught my attention. I started with html as my first language and I’m still on the basics, but I think I got the concepts of it, html is the foundation , css how it looks, and JavaScript the functionality of it and blah blah. However I also want to learn how to back end, and only know little about python. One of my projects in web design class is to make a portfolio website, but I want to include fancy stuff like motion graphics and little stuff on it. Some of it includes Java script and I know nothing about it. In today’s age, I like to use Ai to help me code, and understand what function each code does, but it feels discouraging or wrong having a language included that I know nothing about it. Like I said before I only know some parts of html and little of css and 0 of JavaScript. My other problem is that once I’m done with a project , and start another , I don’t remember anything. Am I dumb?? Is my memory bad?
How do programmers handle this problem?? How do programmers remember languages??


r/learnprogramming • • 1d ago

How do you actually judge whether a project is good or impressive?

38 Upvotes

I'm a 3rd-year CSE student, and something I'm trying to understand is how people decide whether a project is actually good.

I see people reviewing resumes and saying things like "these are great projects", "this is a strong portfolio", or "you need better projects". But how exactly do you evaluate that?

What makes you look at a project and think, this is genuinely impressive?

Is it:

  • The complexity of the problem being solved?
  • The tech stack and technologies used?
  • The actual implementation and code quality?
  • Whether it solves a real-world problem?
  • How unique or different the idea is?
  • The developer's understanding of the project?

Also, how do you distinguish between a basic CRUD project with a fancy UI and something that's actually worth showcasing?

As a student preparing for placements, I want to learn how to evaluate my own projects instead of blindly following suggestions to build more complex or unique projects.

Would love to hear how developers, interviewers, and experienced students evaluate projects!


r/learnprogramming • • 7h ago

Do you recommend that I learn to program?

1 Upvotes

I'm an undergrad student of economics. I am learning python because I'm interested in modelling and working with data. I read that having some idea about programming it's convenient in my carreer, mostly because its aplications in the econometrics field, and for doing projections or quantitative studies. I also like doing some "projects" with claude, but i feel blind and impotent because I don't know nothing about the code, so I think learning Python is also gonna help in that. Right now I'm taking the CS50P course, since a week aproximately, and I have done a very simple program about prisoner's dilemma. I'm enthusiastic in getting better at this and adquise more knowledge to do some programs like the Game of life (it's cool), Montecarlo simulations (with aplications in economics) and supply and demand model. After CS50P, my plan is read two books: Python for Finance and Python for Data Analysis. But I'm wondering if I'm doing right, mostly because all the people saying that programming it's obsolete because AI. It's a waste of time learning Python, especially if my carreer isn't CS? AI is gonna take all the tasks and economist's need for some programming knowledge? Or, instead, it's a good complement (because the understanding, the logic, etc), even if in the future I'm not going to write all the code? What are your perspectives about programming in my field?

Sorry if my english is bad.


r/learnprogramming • • 22h ago

I have a program (a web app) that I would like to push to a server in order for other users to utilize. Where do I begin to learn about data handling and safety?

10 Upvotes

So as the title says I constructed a web app, but I would want to store and connect a google calendar for instance that feeds into the one in my app, or store notes, input a work schedule etc.

I just dont really know much about hosting, or security on servers etc. I have a great web app but im paranoid to let users test because of my lack of knowledge. I would love advice!


r/learnprogramming • • 23h ago

Learn rust

10 Upvotes

Could you tell me what the situation is with Rust? Is it worth learning, looking ahead to the next 5 years? Or would it be better to learn C instead?


r/learnprogramming • • 21h ago

C programming language learning guide

7 Upvotes

Where can i learn C from basic ?


r/learnprogramming • • 1d ago

How to actually pick up a new language

15 Upvotes

I had picked up C, C++, Python and VB.NET as a kid so the idea of how to learn new languages has become a foreign to me.

I can read most code bases even if I don't know the language but the sometimes joining an existing code base or needing to use a tool/ecosystem related to a different language means needing to know that language. But I don't know what is a good level to stop. The entire docs feel overkill but when I open table of contents, everything sounds like I should look into it. (And you can't ignore basic stuff either cuz there could always be some peculiar/unique behaviour).

So how do you guys go about picking up a new language for something?


r/learnprogramming • • 1d ago

Topic Do any of you also feel pressure when programming, even when you do it out of passion?

16 Upvotes

I have been programming for over 4 years and recently I noticed a problem.

When I know exactly what I want to do on a given day, I feel much calmer, when I see the exact number of lines of code written in a file, I can more easily see my progress and feel satisfied. When code is scattered across multiple files, I lose some of that sense of progress. When I come across a more difficult task, I quickly become frustrated, especially when I don't know how long it will take to solve it and when I have no idea for the next day's tasks, I start to feel pressure that I will waste time and the day will look like a break from programming, which I don't want.

The last one is the most problematic for me. Sometimes I find myself desperately looking for new ideas for functionalities, trying to save work on the project. I feel like I need to find something new to have something to do the next day. Over time, I noticed that I began to treat the lack of an idea almost as a threat to the continuity of my programming. The thought appears that if I don't have more tasks, I will start taking longer and longer breaks. Interestingly, I'm not directly talking about the fear of losing interest in programming. It's more about the feeling that I need to have another job and see real progress.

I wonder if I'm putting too much pressure on myself. I would like to be able to just sit down and work on a project, see what I can do that day, without having to think about what to do next.

How to break this spiral of pressure so that you can derive pleasure from programming, which brings a lot of nerves? What is your approach in the projects you develop?


r/learnprogramming • • 19h ago

[C++] Using macro to wrap code block between "enter/exit" functions not working if using 'return'

2 Upvotes

I've been looking through some code that uses a lot of functions to disable/restore the CPU interrupt flag to prevent interrupts at critical code segments. While just using the function calls themselves work, a neater and less error prone solution would be something that looks similar to the using statement in C#.

I was wondering if implementing something like this on C++ would be possible and this is as far as I've gotten so far, but the RestoreIRQ(f) function is not executed if leaving the code segment with a return statement. I know why it doesn't work, but not how to fix it. Is there a way to alter the macro to work correctly in this case, or is this something that is not possible with C++?

Here is some sample code with some mock functions (and variable), the macro used to implement this and code examples of what currently works and what doesn't.

/* --- MOCK VAR AND FUNCTIONS --- */
/* Actually affects on hardware level... */
bool irq_flag = false;

bool DisableIRQ() {
    bool tmp = irq_flag;
    irq_flag = true;
    return tmp;
}

void RestoreIRQ(bool f) {
    irq_flag = f;
}

/* --- MACRO --- */
#define IRQSafe(body) { bool f = DisableIRQ(); body; RestoreIRQ(f); }

/* --- This works fine --- */
IRQSafe({
    /* Some code... */
})

/* --- This doesn't work --- */
/* IRQ state is not restored... */
IRQSafe({
    /* Some code... */
    return;
})

r/learnprogramming • • 1d ago

Resource Is fCC best option to upskill?

13 Upvotes

I been a developer who got fired back in start of 2025, till now I haven't landed a job back in tech, I know a lot of stuff is related to AI and slow hiring but I am used to slow hiring. The problem is that my learning seem stagnant and I am not sure why, maybe fCC curriculum seems really huge e.g. right now I am on JavaScript and I have a really really bad habit of making sure every step get checked e.g. If I want to learn Fetch, I see a lot of content above it not completed and I start from there making sure everything before that is checked/completed before I learn Fetch.

Other problem is, is fCC, scrimba, coursea etc best or anyother?


r/learnprogramming • • 1d ago

Resource Best resource to learn spring boot?

2 Upvotes

You have any suggestion or best resources to learn springboot or any type of playlist on YouTube?


r/learnprogramming • • 23h ago

Looking to transition into AI Automation – Completely new to the field. Where should I start?

0 Upvotes

Hi everyone!
I’m looking to transition into the AI field, specifically AI Automation and Business Process Automation, but I’m completely new to this area and would really appreciate some advice from people with experience.

My professional background has mainly been in operations and business support, with some experience in commercial roles. I’ve worked with CRM systems, customer management, sales pipelines, KPIs, SLAs and internal business processes.

One of the things I’ve always enjoyed most throughout my years working in operations was identifying opportunities to improve processes, spotting where time and resources were being wasted unnecessarily, and finding ways to fix those inefficiencies.
That’s actually what sparked my curiosity and interest in AI automation. I see AI as a powerful way to take this further and solve business problems more efficiently.

My goal is to develop practical skills that could eventually allow me to:
Apply for jobs related to AI automation, workflow automation or AI operations.
Build automation solutions for businesses, potentially offering these as freelance services or starting my own business.
Develop the technical skills needed to identify, design and implement automation solutions.
Learn some programming along the way. I’m open to learning programming and other technical concepts, even though I have no programming experience.

I’m not looking to become a machine learning engineer or develop AI models from scratch. I’m much more interested in using existing AI tools and technologies to solve real business problems.

Given my background and goals, what tools, software, technical skills or learning resources would you recommend I focus on to build a career in AI automation?

I’m particularly interested in hearing your honest opinions based on your own professional experience. If you were starting from scratch today, with my background and objectives, what would you prioritise learning and why?

I’m willing to put in the time and effort to learn properly. I just want to make sure I’m following a path that has real-world value rather than collecting certificates without practical skills.
Any advice, recommendations or personal experiences would be greatly appreciated.