r/learnprogramming • • Mar 26 '17

New? READ ME FIRST!

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

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

0 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 • • 2h ago

Topic Am I wrong for not feeling okay with completely surrendering to the AI agents?

31 Upvotes

Maybe this is mine OCD personality, but I just can't develop something if I don't completely understand the code. This makes my work significantly slower, compared to the pace where I would delegate everything to AI and just brute force towards some end goal.


r/learnprogramming • • 57m ago

PROTIP

• Upvotes

If your C program "works sometimes and crashes other times," it's almost always undefined behavior — uninitialized variable, off-by-one on an array, or using memory after free. Run it with valgrind, it literally tells you the line. Changed my life in first year.


r/learnprogramming • • 16h ago

Spent a month learning C# and came out with zero fundamental skills.

46 Upvotes

I've seen a lot of posts about people who understand the concepts of programming after tutorials, but I've spent at LEAST 30 hours trying to learn from all sorts of programs, books, videos, and going hands on, but nothing seems to be working for me.

All I know is:
- If, else, else if,
- do/while loop
- variables

And I at best, only scratched the surface of them. I want to learn program for a career and for personal projects *game development and mod-making*, and this constant loop of looking for a way to learn has been incredibly discouraging and I just cannot grasp how all of these other programmers have learned how to do even the most simple things like arrays and methods. The advice I have gotten from them such as "apply it to your own projects" and "make something simple" have helped me solidify these few concepts, but I still can't move on from them. So this post is my last resort in this ambition of mine that I hold so much passion and ambition, yet no skill for. And if any of you have advice for what I'm doing wrong, I would greatly appreciate it.


r/learnprogramming • • 10h ago

Advice for a young developer?

11 Upvotes

Hi! I'm 16 years old and I'm a web developer. I've learned React and PHP/Laravel, and I'm currently working on improving my skills and building real-world projects.

If you could give one piece of advice to a 16-year-old developer who already has some experience, what would it be?


r/learnprogramming • • 4h ago

Resource Need help to learn something new

3 Upvotes

My Story:

I am a computer science student and my background/specialization is in applied AI. Recently I secured an internship from an AI-Cybersecurity related company. My seniors who have worked as interns over here said learn something related to system design stuff.

What I want to learn?:

This is something called AI + DevOps. Since I have a decent knowledge about AI I wanna start learning DevOps - system design, etc. etc.

How can you help me?:

I want a roadmap on how to start. Your experiences may help me in this. I want to know how you start and how you would start from scratch in this AI economy. From beginner to professional. Now I am planning on focusing on DevOps later on how to combine AI & DevOps.

A few of the basic computer science courses are done by my uni which are - DBMS, computer architecture, Operating systems (which i didn't like coz of my professor and will learn again in general), DSA & Algorithms

I know C/C++, Python, SQL.


r/learnprogramming • • 33m ago

Looking for Open Source projects we can contribute to

• Upvotes

Hey everyone!

I'm working with a student society at COMSATS University, Lahore, and we're trying to build an open-source community where people can work on each other's projects, contribute, and learn from real development experience.

We're looking for existing projects whose maintainers would be open to outside contributions. We're also interested in connecting with developers who'd like to contribute to projects with others.

The idea isn't limited to COMSATS students. Anyone can participate, whether you're a student, developer, or project maintainer.

If you have a project that could use some contributors, or you're interested in being part of this, we'd love to hear from you.

Beginners are welcome too. We'll help them get started with Git, GitHub, and the contribution process.

Register here: https://rascui.github.io/#submit-proposal

If you're interested, feel free to comment or reach out


r/learnprogramming • • 14h ago

Should beginners learn one programming language first or try different ones?

11 Upvotes

I'm new to programming and not sure if I should focus on one language or explore different ones. What would you suggest based on your own experience?


r/learnprogramming • • 11h ago

Data analytics or Full stack which one is better .

6 Upvotes

I read a sub on reddit, some IT persons were saying that Data Analytics replaced by AI that it's so so hard to get a job. Every work is done by AI and iam planning to learn Data analytics to get a job. Is Data analytics market really dead and should I shift to full stack.


r/learnprogramming • • 1d ago

Topic Is it still possible to break into web development as a self-taught developer, or am I too late?

89 Upvotes

I recently finished The Odin Project after spending around two years learning web development on my own.

I’m trying to transition into web development, but with the rise of AI and how competitive the job market seems to be, I’m starting to question whether it’s still a realistic career path.

For those who are self-taught or have switched careers into web development:

- Are companies still hiring self-taught developers without a CS degree?

- Are there still opportunities for people with no professional experience?

- How difficult is it to land that first job?

I’m wondering if there’s still a chance for someone like me to break into the industry, or if I’ve spent the last two years learning something that’s becoming increasingly difficult to turn into a career.

I’d appreciate some honest advice, especially from people who recently entered the industry.


r/learnprogramming • • 3h ago

Languages Want to make an app for Learning and resume project. Kotlin or Dart?

0 Upvotes

My background: C++, Python, Go

My best is c++, i practice DSA in it. Python and Go, i know very basics of it.

I have project ideas for mobile application. I primarily use android, and i feel its easier to get into android instead of ios development.

I see 2 viable options,
0. Kotlin/Jetpack-compose
1. Dart/Flutter

Note: Never touched either kotlin or dart.

I would like to know which stack is better for my situation?
Which one has long term reliable?

please help me choose one.


r/learnprogramming • • 15h ago

Tutorial PyQT - can I learn it concurrently with Python basics?

7 Upvotes

Hi! I’m looking to expand my skillset into Python, and was recommended by a colleague to look into PyQT for what I do. My basic questions are:

  • Is it ideal to complete a Python tutorial course before even touching PyQT?
  • Could I begin directly with a PyQT course?
  • What are some ideal tutorials/courses for this?

For reference, I come from the background of FileMaker Pro scripting and layout/GUI design with an expert certification. It’s like a combo of SQL and Javascript for those unfamiliar.

Thank you in advance!


r/learnprogramming • • 8h ago

Tutorial Need help setting up a gui library in C

0 Upvotes

I would owe the world and more to whoever helps me

Okay so hi everyone, i'm fairly new to programming and recently i challenged myself to program something in C, i wanted to make a gui calculator bcs i thought it was fairly simple.

Turns out it's not that easy, and i discovered i had to download gtk4 and learn it, and i'm willing to do that i just need some help on how to download it, set it up and link it, preferably on codeblocks, but vs is great too.


r/learnprogramming • • 14h ago

new devs, real question

1 Upvotes

how are you actually learning coding concepts when AI writes most of the code for you?

reading docs? building stuff? just vibing?


r/learnprogramming • • 21h ago

What's currently worth trying to learn and break into in the development world? (I have some experience)

4 Upvotes

Hi all,

So I guess for some context, I graduated from college back in 2019 with a combined computer science and game design degree. Seven years later, and I never really did anything with the degree. I work in tech but I work in support. Originally, I took the first job that came to me out of college because I had to start paying back student loans. It was a technical support engineer job and my career trajectory more or less went in that direction.

I then had a chance to work at a gaming technology company with a similar style role but a little more technical (mainly reading and debugging code and a bit of writing) but I kind of noped the hell out of the gaming industry once teams started being laid off for sport.

Now I work at a spatial intelligence/physical AI/ embodied AI company as a contractor. It's kind of a mix of my first job which felt like glorified help desk and my second job which was more dev support adjacent, but being a contractor, I don't see much room for growth here, and I'm starting to apply again primarily for jobs I know I'd be good fit for like support and operations related roles but I also want to get back into coding and try my luck with a developer role in the near future

I am quite uninformed with the current state of the market other than AI and LLMs being a thing now and really speeding up development. While in college, my electives primarily revolved more around AI and graphics for games. I took a pure AI and game AI class and did the same for computer graphics. Ideally I'd want to spend some time brushing up on my fundamentals again and the locking in on something that would be worth pursuing


r/learnprogramming • • 14h ago

Newer versions of CodeLite not bringing up CMD after building project.

1 Upvotes

I decided to get back into coding and want to start from the beginning and I am following a guide which is using CodeLite as an IDE. The problem is whenever I run and execute a project in the most stable version of CodeLite, it doesn't bring up the cmd but I did upgrade it to 19.0.0 and that brings up cmd but it does not show anything. I just ended up downgrading to 17.3.0 and that is making the cmd show up and working just fine.

I tried searching online for a solution for the newer versions and nothing is really showing up. I had it set to cmd and I thought it had something to do with my Anti virus but even after white listing it, cmd still won't show up. I can take a screen shot of it and post what it looks like if need be but am wondering if anyone who had this problem figured out a solution. Otherwise I can just stick to a previous version.


r/learnprogramming • • 1d ago

Best game library for beginner

6 Upvotes

I wouldn't call myself a programmer because im making games in scratch, recently i was working on a platformer and im pretty ok with scratch but what i hate is its performance, its so fucking annoying and laggy, because of this reason i wanted to try a game framework. I already tried pygame and hated it. What would you reccomend?


r/learnprogramming • • 16h ago

Code Review I've been learning SCSS for about 3 days. I'm trying to integrate a mixin from a partial I dedicated to media-query responsiveness. My media query styles aren't applying. I have a feeling it's because of how I'm calling the mixin. Could anyone see what's wrong with my code?

1 Upvotes

//partial

@mixin responsive-laptop($laptop){ @media(max-width: $laptop){ @content } };

@mixin responsive-regular-tablet($regular-tablet-width){ @media(max-width: $regular-tablet-width){ @content }

};

@mixin responsive-small-tablet($small-tablet-wdith){ @media(max-width: $small-tablet-width){ @content } };

@mixin responsive-phone($phone-width){ @media(max-width: $phone-width){ @content }

};

//main scss file

@include responsive-laptop(1000px){ .drop-down-nav{ display: block; }

#drop-down-icon{
    width: 10rem;
}

.nav-right{  
    display: none;  
}

};

@include responsive-regular-tablet(775px){ .bg-home h1{ font-size: 6rem }
};

@include responsive-small-tablet(620px){ .bg-home h1{ font-size: 5rem }

};

@include responsive-phone(440px){ html{ font-size: 50% }

}


r/learnprogramming • • 1d ago

Learning C Programming, CSS, HTML, and JS

11 Upvotes

I just finished tutorial lessons on C (3: 46 min video), and I don't feel like watching another tutorial again because it feels boring watching another person do the work while you consume and feel smart; instead I'm interested in going straight to problem-solving, creating projects, and reading docs. So, I strongly need your help from you, experienced software engineers if it is the right decision. I have also learned CSS and HTML and am planning on learning JS next because I'm also interested in creating web projects that solves real-world problems.


r/learnprogramming • • 1d ago

How to not forget the dsa questions you have already solved ?

4 Upvotes

I am currently in 3rd year (5th sem) and I built multiple full stack projects using mern and typescript
, then in my 4th sem i decided to start dsa i went to leetcode and began solving questions i solved like 22 or 23 questions easy to medium , and actually i even noted the patterns in markdown , and when i solved them i could even mentally solve them without looking at questions and can actually get what's going on but later i stopped for a month because of 4th sem exams and now when i even read the markdowns or read the code again i couldn't get what's happening underneath ?
so i need a genuine advice from fellow engineers or some experienced leet code grinder how to properly do dsa?


r/learnprogramming • • 21h ago

GOOD WAY TO LEARN PYTHON?

0 Upvotes

I am currently learning the basics of python and I am trying to figure out what's the best way to learn it. What I am currently doing is that after I write some lines of code that I learned, I then use the comment # to explain what each line of code does in my own words. I am wondering if that's a good way to learn and if there are better alternatives.


r/learnprogramming • • 1d ago

Solved Which programming languages were used for developing games in the PS2?

90 Upvotes

I'm not really sure if this is the proper sub for asking this question, so sorry in advance. When I was playing Silent Hill 2 I got curious about what programming language (Or languages) were used for that game, and in the broader Sixth Generation of consoles. Couldn't really find a clear answer for this online, so if anyone knows something about this topic I would be thankful.

Edit: Wow this gained a bit more attention than I expected. Thanks to everyone who answered! Really informative stuff. Ngl at first I was just asking out of curiosity but now I might actually try creating a PS2 homebrew someday, who knows.


r/learnprogramming • • 12h ago

When an AI tutor explains it right but you still cannot retain it - what is missing?

0 Upvotes

A learner here says the explanations finally make sense in the moment, yet nothing sticks a week later. From spaced-repetition work: comprehension and retention are different skills, and rereading feels like learning while recall practice is what moves the needle. For anyone teaching themselves with AI help now: what drill turned understanding into memory for you - timed recall, rebuilding from scratch, or explaining it back? What works beyond theory?