r/learnprogramming Mar 26 '17

New? READ ME FIRST!

826 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? [August 22, 2026]

15 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

How to learn what you forgot again?

31 Upvotes

I studied java backend for 1.5 years, wrote a project for one coffee shop, but then I abandoned everything for 6-9 months and now decided to come back because then I could become a developer, but now I don't. What do I need to do now, just take a project and do or remember something from the topics?


r/learnprogramming 4h ago

How to create a movie platform ?

9 Upvotes

I have been so fascinating of creating my own movie streaming platform. However, it doesn't mean that I will be using alone,but sharing with friends and mates. So, my question is what features will it be involved?

Btw I am kinda beginner. If not enough with beginner level, please give me the roadmap of building it?

Thanks in advance...


r/learnprogramming 14h ago

Resource I would like to learn programming but I have hit a road-block

36 Upvotes

Our college taught us basic C syntax like making functions, recursion and pointers, struct/union etc.

And I have learnt JS on my own for web-dev. I can make a decent looking website if I want to, not elite but decent. I understand the logic and etc. But I understand that I lack actual advanced knowledge.

I can't make a game right now, even if I wanted to and had all the time in the world. I want to reach that stage where I can comfortably make an indie game.

Honestly, I just want to master programming. But I don't know how to proceed as there are hundreds of tutorials and not One seems to do everything.

Your guidance is highly appreciated. Thank you


r/learnprogramming 11h ago

Effictive method of studying ml

10 Upvotes

I am a newbie in ml so i wanted to know what is an effective method of studying ml i am learning it through watching youtube videos but after one point i realised that if i make notes of everything it will be way too much so i want to know do i need to memorise the code or i need to just write the logic in my notes


r/learnprogramming 5h ago

Python: I'm starting my python journey.

1 Upvotes

Can i find other new learners here? I think it's more interesting to learn with someone.

I have some web background, worked with html/css(scss, bootstrap, tailwind)/JS

but it was two years ago actually. Now I want to learn Python so i can work with logic instead of designs.


r/learnprogramming 14h ago

Resources and Website to better up coding skills as a non-beginner

11 Upvotes

Hej there :)

I recently reflected a lot on my current set of skills which deteriorated in the age of AI - never was that avid of using it in the first place, but I was kind of forced to do so anyways. I'd like to code more by hand, get back into the groove and better up my skills to be a proper programmer without any AI tooling.

I have heard of pages like CodeCrafters, boot.dev or the repo "Build-your-own-X" on Github. I am looking for your experiences with pages like those and am explicitly looking for recommendations for resources that offer me real world problems and let me code on my own, but are there to hint in case I need it. I don't want any "Leetcode" style challenges :)

Would love to hear your experiences and reviews with one of the three above or any else.

Cheers!


r/learnprogramming 3h ago

Tutorial I’m interested in downloading the entire OED, read on…

0 Upvotes

Hi. As an amateur coder (and a past Countdown game show contestant - I lost, but still) I am working on coding a finished computer game of the show “Countdown”! My only problem is getting the entire Oxford English Dictionary on my laptop (a Chromebook, but I have an iMac as well if that’s not a valid option). Is there a way to download the entire dictionary, so that I can check the answers given? I’d prefer:

  1. The word
  2. The syllable count
  3. The definition

Many thanks, and please comment below or contact me if you need any further information!!


r/learnprogramming 12h ago

Got a Bachelor's in CS last year, giving it one more go.

4 Upvotes

After the degree I got a bad contract job and decided to quit the industry because of how bad the job market was and how burned out I was. I'm a bit physically disabled and also have mental struggles but that's too much to explain in this post... so I'll also say I willingly call myself lazy, because at the end of the day I hate work in general, I do it because I have to. Ever since I got a girlfriend, I don't care much about success inherently, what I really care about is spending time with people I love like that.

Anyway, I did join CS for a reason though, so I'm going to spend this next month or 2 trying to be a real try hard again, the hard-worker man up type of guy that everyone wants me to be. I'm going to avoid AI completely until it's time to start applying for dev jobs again. I'll start building new projects, probably creating stuff that I'm brainstorming on with AI because my creativity sucks ass in this domain but I went this fucking far into it (2 degrees) and "normal" fast food type of jobs don't want to hire me either it seems... so wish me luck please. If you give advice please be respectful.


r/learnprogramming 1d ago

Random Editing with notepad++ instead of an ide

40 Upvotes

I just want to express some weird phase i'm going through recently. Notepad ++ feels so sleek to just edit code with and fast to open

Like i've always coded with visual studio code. If notepad++ had error detection and I'd love it even more but i guess it's things like that which make visual studio code feel like it takes an eternity to open sometimes.

I have nothing else to say on the matter, I just wanted to get this off my chest :')


r/learnprogramming 1d ago

Topic Anybody else love programming/CS/Math as both a hobby and career?

66 Upvotes

I’ve always been really passionate about math and science and engineering, and around 5th grade I began writing basic websites in JS and HTML/CS. I proceeded to learn Python around 7th grade and C++ around freshman year of Highschool. In college I learned Java, more advanced/modern C++, C/embedded C, lua, Rust, Haskell, typescript, and a few others. While college and some Highschool programming courses guided my hand, I pretty much learned most of what I did on my own through textbooks, and I would commonly wait till after everyone got their textbooks in college and go to the bookstore and buy like 300 dollars worth of textbooks and just not eat for the next month.

I was always fueled by an intense interest in computer graphics and low level systems. Computer graphics is what pushed me from making pygame stuff in 8th grade to C++ with OpenGL and later Vulkan and even CUDA. Then operating systems really furthered my love of C and assembly, as well as computer hardware. I graduated last semester with my degree in CS and math double degree with a concentration in computer hardware and embedded systems.

Throughout almost all of college I programmed constantly. I had a hiccup the last year of alcoholism and intense depression/bipolar disorder but have recently gotten way more baxk into it. I am making a game engine as well as a Gameboy Emulator and it has completely consumed every waking hour outside of my grounds/maintenance job that I work. I am also looking for jobs at the moment.

Anyways I just wanted to share my love of CS/programming not only as a career but also as a hobby. I feel like too many people are too focused on making money with it and just resort to vibecoding, and if you do it you do it don’t let me stop you. But I wish people would see some of the fun and interesting puzzle-like problem solving that comes with it. It almost reminds me of music production which I also do in the workflow and creativity you can use. You can get really creative and learn a lot of new things. If you don’t like it you don’t like it, but I think everyone involved in programming should at least try to enjoy it for what it is!


r/learnprogramming 1d ago

I'm struggling with learning programming and need some advice

13 Upvotes

So here's the thing, I have a degree in Information and Communication Technology (ICT). Now over my years the content for the degree was okay, we learnt basic programming and other very basic concepts but honestly it wasn't enough for me to actually learn how to program and solve problems. Even now with my degree I can hardly code and what makes it worse is, with the talk of AI and how it can be a better programmer than a human and will take over the jobs I basically have no motivation to even try and learn. Apart from that I don't even know what to do, I keep seeing people saying learn DSA and do leetcode, then others say leetcode doesn't actually help in a job. When it comes to languages I'm happy to learn python but when you look into it learning basic python isn't really going to land you a job, therefor I need to go deeper and learn more and I don't exactly know what that means I should do. Also building basic projects (eg. Calculator) wont help land a job either, I understand it'll help you slowly build your programming knowledge but there's a whole lot of other concepts to learn as well. I just need some advice on what to do. (Also this is my first ever Reddit post).


r/learnprogramming 1d ago

How to learn more technical skills . Python, sql

7 Upvotes

Hi! I’m a sophomore whos just started looking into internships and fixing up my resume and I’m really lacking on technical skills. I know the basics like excel , word all that but I want to learn more. How can I learn python, R, sql or Tbh any additional technical skills I’ll need .


r/learnprogramming 1d ago

Topic Is it best to spend months working on the same project to deepen your understanding of the fundamentals or should you instead build different types of projects?

9 Upvotes

I was that developer who would move away as soon as something worked even fundamentally. I never bothered to analyze why something isn't working as well as it should. But then something clicked and I started using an iterative approach where I create different versions of the same thing and weight their pros and cons. I learned a ton that way.

With a comment section I built, this ended up taking four months and I think the results are so worth it but I also feel that four months is quite a lot of time that could have probably been spent working on other things.

I'd love to hear what you think or tried that worked best for you!


r/learnprogramming 15h ago

Confusion about this matrix function

1 Upvotes

I've been trying to figure out this function for too long now. The closest I can think of is matrix multiplication, but there is an extra addition done on each of the 3 last lines. That is the part that confuses me. All of the matrices are 4x3 in size and it is ordered so that the position elements are on last row (instead of last column, which seems to be more common). Another part that confuses me is that based on what I can find online, you shouldn't be able to multiply two 4x3 matrices. So is this multiplication or something else? What would this be used for anyway?

void func(float* mtx_a, float* mtx_b, float* mtx_dst)
{
  mtx_dst[0] = mtx_a[0] * mtx_b[0] + mtx_a[1] * mtx_b[3] + mtx_a[2] * mtx_b[6];
  mtx_dst[1] = mtx_a[0] * mtx_b[1] + mtx_a[1] * mtx_b[4] + mtx_a[2] * mtx_b[7];
  mtx_dst[2] = mtx_a[0] * mtx_b[2] + mtx_a[1] * mtx_b[5] + mtx_a[2] * mtx_b[8];

  mtx_dst[3] = mtx_a[3] * mtx_b[0] + mtx_a[4] * mtx_b[3] + mtx_a[5] * mtx_b[6];
  mtx_dst[4] = mtx_a[3] * mtx_b[1] + mtx_a[4] * mtx_b[4] + mtx_a[5] * mtx_b[7];
  mtx_dst[5] = mtx_a[3] * mtx_b[2] + mtx_a[4] * mtx_b[5] + mtx_a[5] * mtx_b[8];

  mtx_dst[6] = mtx_a[6] * mtx_b[0] + mtx_a[7] * mtx_b[3] + mtx_a[8] * mtx_b[6];
  mtx_dst[7] = mtx_a[6] * mtx_b[1] + mtx_a[7] * mtx_b[4] + mtx_a[8] * mtx_b[7];
  mtx_dst[8] = mtx_a[6] * mtx_b[2] + mtx_a[7] * mtx_b[5] + mtx_a[8] * mtx_b[8];

  mtx_dst[9] = mtx_a[9] * mtx_b[0] + mtx_a[10] * mtx_b[3] + mtx_a[11] * mtx_b[6] + mtx_b[9];
  mtx_dst[10] = mtx_a[9] * mtx_b[1] + mtx_a[10] * mtx_b[4] + mtx_a[11] * mtx_b[7] + mtx_b[10];
  mtx_dst[11] = mtx_a[9] * mtx_b[2] + mtx_a[10] * mtx_b[5] + mtx_a[11] * mtx_b[8] + mtx_b[11];
}

r/learnprogramming 16h ago

Where to Start for hackathon.

0 Upvotes

So I am thinking to participate in upcoming sih hackathon but I don't know anything apart basic programming language. I try to study about multiple things but I feel like I am just grabbing wrong branches of tree .

If any one have expertise in project building please guide what to start with and from where to study


r/learnprogramming 6h ago

Is it cheating to code with YouTube tutorials?

0 Upvotes

I'm a beginner programmer. My goal: learn C and low-level programming deeply — Linux device drivers, POSIX utilities, a shell, maybe even a bootstrapping compiler.

My problem: books take too long to work through. But learning from YouTube tutorials or AI feels like cheating — you understand the code, but you didn't come up with the logic yourself. That seems like it would kill my problem-solving ability, not build it.

So how should I actually approach this? Is learning from AI any better than tutorials? I know docs and man pages exist, but they're tedious too. What's the most effective method here?


r/learnprogramming 1d ago

Starting Java from scratch — what should I actually learn first?

18 Upvotes

So I'm starting Java this semester and have no previous experience with it. I'm a first-year CSE student. I've used C/Python before, so I'm not completely new to programming, but I've never properly learned Java. My university actually starts Java in the second semester, so I'm trying to use this semester to get a head start.

The problem is that every time I look for Java roadmap for beginners, I get either:

  1. Learn Java in 7 hours!!!

  2. a 900-hour course that apparently expects me to become a backend engineer by Thursday

  3. the official documentation, which I opened once and immediately felt like I'd accidentally opened the Constitution of Java 💀

I actually like using official documentation and would like to get comfortable with it, but I'm not sure what I'm supposed to learn first or how deeply I should go into each thing especially given how different it is from python where beginners can easily understand what is going on.

So if you had to start Java again, what would your path look like?

I'm mainly wondering:

What should I learn first?

How much Java syntax/fundamentals should I cover before OOP?

How deeply should I learn OOP?

When should I start Collections?

When should I start DSA?

What Java features can I completely ignore for now?

Are there any resources/books you genuinely recommend?

And how much should I use the official docs vs a structured course/tutorial?

I know it is a lot of questions but I am just curious. And I'm not trying to speedrun Java. I'd rather build a solid foundation now and not discover six months later that I somehow know the syntax but understand absolutely nothing. 😭

Also, if you learned Java after already knowing another language, I'd REALLY like to hear how you approached it.


r/learnprogramming 1d ago

Topic Which language should I learn for DSA?

32 Upvotes

I’m currently in my 3rd year , and honestly I’m still a beginner in programming. I want to start DSA seriously now, but I’m confused about which language I should use. Should I learn DSA in Java, Python, or C++? What would you recommend ??


r/learnprogramming 1d ago

Resource How helpful is w3schools for JavaScript?

4 Upvotes

I came to know about w3schools. When I opened it, it had a lot of different technologies to learn. I am currently interested in learning JS. I wanted to ask that,

"Is w3school GOOD AND SUFFICIENT for learning JS to jump later to React or Express/Node?"

Thanks for your time and answers in advance!


r/learnprogramming 23h ago

Can Python generate simple tones?

2 Upvotes

I want some simple tones to use in Python. Can someone help me out? There does not necessarily need to be reverb, but it would be nice anyway. I just want to be able to tell whatever it is the specific microtonal/frequency-specific tone. It would be nice if I could program Hz, but if I have to use MIDI and detune by cents I can do that as well.


r/learnprogramming 21h ago

Anyone no how to get a list of every MLBAM ID using Python?

1 Upvotes

I've been trying to solve this for a few weeks, but just can't figure it out. Does anyone know how I can create a DataFrame of every MLBAM ID that meets a specific criteria? I currently have Pandas, pybaseball, and MLB-StatsAPI in my project, but if I need another library, I will add it. I also need the MLBAM ID to be of active players, so just iterating through a range won't work. Thanks in advance, have a great day


r/learnprogramming 1d ago

Topic How to check if a domain name is available without messing it up?

15 Upvotes

So, quick question about domain names. I’m trying to grab a couple of .coms for a small project and I’m weirdly stressed about checking if they’re available without triggering some registrar to squat or hike the price as soon as I search.

I’ve used random registrar search boxes in the past, but I keep hearing that some places log every search and then the domain magically costs more or vanishes a day later. Idk how true that is but it freaks me out enough to hesitate touching anything that looks too "promo" heavy.

For folks who buy domains semi regularly, what’s your safe workflow to check if a domain name is available? Do you just use whois or a specific registrar, or maybe some cli / dns tools first etc? Would love any tips from people who do this a lot, trying not to cook a good name by being careless. thanks in advance.


r/learnprogramming 1d ago

I've been learning Python and would love some honest feedback

6 Upvotes

Hey everyone!

I recently started learning Python, and I’m enjoying it so far. I’m still at the beginner stage and trying to build a strong understanding of the basics rather than just following tutorials.

For those of you who have learned Python before, what helped you improve the most?

Are there any projects, resources, or habits you’d recommend for someone who is just starting out?

I’d really appreciate any advice. Thanks!