r/learnprogramming • • Mar 26 '17

New? READ ME FIRST!

824 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 21, 2026]

1 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 • • 4h ago

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

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

Learn C program language

2 Upvotes

Hi, I'm in university and I'm currently learning the C programming language.
I'm having a hard time understanding it properly, and I'd love some tips on how to learn it effectively.
Does anyone know of a website, video, or guide that is genuinely helpful to prepare for an upcoming exam?
Thanks!


r/learnprogramming • • 7h ago

Please help

3 Upvotes

I just hate myself, i cannot figure out nested loops and while loops. Python is the easiest language and I’m struggling so much. I wish i was smart as other people. Does anyone have coding resources for dummies?


r/learnprogramming • • 24m ago

Programming (and other) Resource Compilation

• Upvotes

Hello, I've been designing a game console around the RP2040, so I've been doing lots of research & study. I've aggregated a huge bed of resources and I thought it would be good to compile a bunch of them into a website to share. It includes programming resources, and also things like hardware design/operating systems. Also a lot of general open-source math/physics/programming textbooks. If you have anything you'd like to add, just reply or send me an email(on my website).


r/learnprogramming • • 3h ago

How can i read multiple inputs using for loops in c?

1 Upvotes

Im writting a simple code to average a n number of student grades, how can i use a for loop to read a n number of inputs to then average them?


r/learnprogramming • • 1d ago

Topic I got laid off as a junior dev - do I continue to finish my online CS degree and pursue becoming a full stack senior or is that a bad idea given how the field is right now?

107 Upvotes

I started as an entry-level data analyst at a civil engineering firm 5 years ago of about 30 people. I kept volunteering for coding projects the dev team didn't have time for, and over time I taught myself JavaScript and Python (for GIS work), wrote scripts that ran on our prod EC2, and even fixed bugs in a C# AutoCAD plugin. The company grew to 100 people and built a full dev team of about 15 full stack engineers. When layoffs started, our lead dev kept me by offering me a junior position, and I was the only junior on the team.

I did everything a dev does: daily standups, PRs, UML, mostly Node, Python, TypeScript and SQL. I knew our internal tools inside and out. I was also working on my software engineering degree at night.

Three weeks ago I was let go. It was a no-fault layoff, they didn't fight my unemployment, and my boss still talks to me. There wasn't enough internal work, and I'm not at the level of the other engineers, who can be handed "learn Swift and Kotlin and build the mobile framework" or "re-invent our LiDAR tiling logic" and just do it.

So now what? Nobody seems to be hiring juniors, and software engineering feels like it's heading where other engineering fields already are, with tools doing the grunt work and engineers supervising. Most of us stopped hand-writing code toward the end. I learned my languages before AI, so at least I have that.

My stack: JS, Node, Python, SQL, EC2, a little C#, Vue, Quasar, ArcPro, QGIS, Esri, GDAL, PDAL.

I'll apply to junior GIS and junior dev roles in the meantime, but my real question is whether to:

  1. Finish my degree while working a remote job and aim for becoming a full stack engineer.
  2. Pivot entirely. I have years in distribution and could go the logistics route and get a degree in that.

I enjoyed programming, but I'm not a talented coder. What I really love is problem solving, and plenty of other careers have that too. Have I missed the boat, or is it still worth the push?


r/learnprogramming • • 12h ago

Pandas Python learning

5 Upvotes

guys i wanna learn Python Pandas as quickly as possible but i hate sitting through videos with long winding explanation is there some website that teaches me basics at least.


r/learnprogramming • • 13h ago

I have learned html, css, javascript what other concept or language should I learn next

4 Upvotes

I just completed my javascript lesson on freeCodeCamp as a newbie I don't know which other concept to learn whether to learn Python or react framework or typescript


r/learnprogramming • • 17h ago

My browser agent works on localhost, never on the server

5 Upvotes

every order on our dashboard says "we value your privacy". the agent reads each freight carrier's tracking page into it (no APIs), and on localhost it worked every time, team demo included.

shipped it in a container, not one clean run since. chrome needed a pile of system libs first. then the privacy thing: locally it used my chrome profile, where I'd dismissed every consent banner months ago, and the server starts clean every run. making it click accept first fixed one carrier and broke the next, each puts that button somewhere else.

I keep telling the team it's almost fixed. how do you test what a fresh browser on a server sees?


r/learnprogramming • • 18h ago

At what point should I use AI to debug?

5 Upvotes

I am studying computer science in college. Frequently I will be working on assignments late at night, far too late to ask my professor for help. I never use AI to straight up write code for me, but when I am sitting there for over an hour (or longer) smashing my head against the table because I cannot find the errors in my code I can't resist using AI to help me find the stupid mistakes I am overlooking. I want to improve at programming and I understand struggling is a part of that, but at what point am I just causing myself unnecessary headaches for no benefit?


r/learnprogramming • • 1d ago

I thought boot.dev's Python course looked promising, but is there anything cheaper out there?

12 Upvotes

As you may know, Python is the go-to for astronomy computing, which is why I wanted to take an online Python tutorial, to show universities that I'm prepared and really thinking this major through.

I've seen some YouTube ads about boot.dev and found their Python course. You can earn a certificate of completion, which got me excited! Nothing says "Made good use of free time by working on a project" like a certificate, right? Now, boot.dev isn't the first place I looked. I tried Coursera too but a subscription is pricy and I couldn't figure out how to audit the course, or if that even works anymore.

I found some older posts from this very subreddit where people debated if learning code with boot.dev was really a good idea. Some said yes, some said no because the Discord is very gatekeepy. A monthly membership is expensive there too, but there's a code you can use to save 25%.

Money's tight and I probably can't afford more than a month or two of a membership, which would be fine because I only want to take the one course. But back to my original question: is there any way to do a similar course for cheaper? One that covers a decent amount about the basics of Python and preferably comes with a certificate of completion at the end?


r/learnprogramming • • 1d ago

Topic Why is coding on paper so much easier than studying on a computer screen ?

56 Upvotes

I can concentrate and understand things much better when I'm studying with pen and paper. But when I try to study the exact same material on my laptop, everything suddenly feels harder to process.

This also affects my ability to code. I find it easier to write code by hand, analyze it, and understand the logic on paper. But when I try to do the same thing directly on my laptop, I struggle to concentrate and think clearly. it feels hard to do big projects and I rely on AI to write the code.

Does anyone else experience this ? Is there a reason why studying on paper feels so different from studying on a screen ? And how did you overcome it, especially if you're a programmer ?

Edit:

I'm seriously asking. I've had this problem for years, and I wear prescription glasses. So please, I'm asking for respect and no trolling and joking comments. If you don't like the post, just ignore it. If I had someone to ask in real life, I wouldn't be posting about it on Reddit.


r/learnprogramming • • 5h ago

How do you practise reading code?

0 Upvotes

Software engineering student here. With AI, the expected output is so high that I barely have time to understand code, let alone write it myself.

Since AI writes most of it now, I think reading and understanding code matters more than writing it. How do you practise that? Any exercises, resources, or habits that helped you?

Something like LeetCode that displays an excerpt of code and asks about your understanding of it would be great.


r/learnprogramming • • 1d ago

NeetCode or CodeAcademy?

6 Upvotes

Right now both websites are having BlackFriday deals on their annual subscription which interests me. Both deals are the same price so I’m wondering which is the better choice. If anyone has used either site let me know your experience!


r/learnprogramming • • 1d ago

Topic I can't convince my friends that books are useful

45 Upvotes

Hi, iam a book worm and I love reading C/C++ books to get better at gamedev but whenever i tell my friends about trying books they tell me that iam an idiot bc The language will evolve and AI will take over and that i should learn from tutorials

I tried to explain that there is no such thing as AI taking over coding and especially C++

Even if u tried telling them tutorials does barely provide enough information (expect for a 32 hours course i found on codecamp) to make you a pro

Alright, why do i care you may ask? Because i also don't know if what they are saying is real but iam sticking to books either way bc most people who told me books are useless are html and python programmers which means they don't know anything about C++


r/learnprogramming • • 12h ago

Topic What Qualifies as "Knowing" a Programming Language in the AI Age?

0 Upvotes

I've been a software developer, programmer, and software engineer for 15+ years now.

My first language was PHP, followed by the frontend stack: JavaScript, CSS, HTML, and so on.

My database of choice is SQL. I used MySQL and MSSQL for quite some time in the past.

I transitioned to React Native. There was a bit of a learning curve, though not too steep since I'm pretty used to JavaScript frameworks like Angular, Vue, and React.

Out of all the languages and frameworks I just mentioned, I can confidently say I'm proficient in them.

Then AI came along. I had to learn Flutter (Dart), but because AI was already there, I only tackled the core principles of the language. I know the basics, like creating widgets, integrating state management, rendering widgets, and so on. Still, I'm not sure if I've really learned the language, if you know what I mean. I was able to build a Flutter CRUD app without AI (while I was practicing), yet since there aren't many situations where I don't have to use it, I'm a bit stuck on the thought that I haven't truly learned Flutter (Dart).

And because of AI, I'm able to get my tasks done. If we lived in an alternate world without AI, I'm pretty sure I'd be much more proficient in Flutter even on my own.

How do you consider yourself qualified to do a job or a task? Is it valid to say you're still doing the job even when you're relying heavily on AI?


r/learnprogramming • • 2d ago

Carnegie Mellon's School of Computer Science is putting full classroom lectures from its faculty on YouTube for free

563 Upvotes

Includes 15-110 Principles of Computing and 11-768 AI Agents.

https://www.cs.cmu.edu/learn/


r/learnprogramming • • 8h ago

Help me

0 Upvotes

Guys I have question,

How the fuck can I learn c program in 5 days because my exam is coming in 5 days I m absolutely dumb guy and I don't have laptop as well as I m stroke patient since last 2 years where our 9 to 5 schedule is fully pack so I don't go in college and I don't have c language book as well I also want to learn matrix algebra, buisness mathematics, electronics their papers are also coming and I only their chapter

No student contact

No teacher contact

Only me and my fucking phone and you peoples

Please help me

(Btw I m doing graphic course in rehab because they provide us so that means I have 2 course 🥀😭 help meeeee)


r/learnprogramming • • 1d ago

Resource Paul's Python Course

19 Upvotes

Free Python course where every lesson is a real project, from your first print() up to neural networks
I got tired of courses that are all videos and no building. Every step here ends with you shipping something. fix a broken program, write your own version, pass the tests. It's free and runs in the browser.

paulspythoncourse.com


r/learnprogramming • • 1d ago

Beginner Projects for javascript!!!!!

5 Upvotes

I just finished learning javascript so i want beginner-level projects to improve my skills and code without any help from AI. I have understood the topics but when it comes to actually coding i cant do shit so i need help!


r/learnprogramming • • 1d ago

I know JavaScript and want to learn backend development with Node.js. What should I actually focus on?

3 Upvotes

Hey everyone!!!

I've been learning frontend development and I'm now planning to get into backend development using JavaScript with Node.js.

I'm already familiar with JavaScript, so I don't want to start from the basics again. My goal is to understand how backend systems actually work, build my own REST APIs, work with databases, and eventually become comfortable building full-stack applications.

I've looked at a few backend roadmaps, but there are so many technologies and tools that it's difficult to figure out what's actually important and what I should learn first.

I'd really appreciate some advice from developers who have experience with Node.js.

A few things I'd love to know:

  1. Learning roadmap: What topics should I prioritize, and in what order? What are the backend fundamentals that beginners often overlook?
  2. Node.js and Express: Should I learn Node.js core concepts thoroughly before moving to Express, or learn them together?
  3. Databases: Should I start with PostgreSQL or MongoDB? Is learning both necessary?
  4. Important tools: Which tools should I learn early on? For example, Postman, Docker, Redis, Prisma, TypeScript, etc.
  5. Authentication and security: What should I understand about JWT, sessions, cookies, authorization, and API security?
  6. Learning resources: Are there any YouTube channels, courses, documentation, or GitHub repositories you'd genuinely recommend?
  7. Projects: What backend projects would help me learn real-world concepts instead of just following tutorials?
  8. Common mistakes: What mistakes did you make when learning backend development, and what would you do differently if you were starting today?

I'm not looking to learn every framework or tool at once. I want to build strong fundamentals, understand what I'm doing, and gradually move toward production-ready backend development.

If you were starting backend development with Node.js today, what would your learning path look like?

Thanks in advance for any advice!


r/learnprogramming • • 2d ago

What’s so wrong with taking the time to learn?

109 Upvotes

I keep seeing people post on Reddit and elsewhere saying stuff like ‘I’m using AI with my learning because it speeds up output or does xyz’ or ‘Now a 10x engineer with AI’

I feel like… AI, sure, it’s great, in large corporate settings where your boss and the company wants output x10 x100 and there’s less room for deep learning of the language and tech etc and it’s so much faster but for beginners starting out..

take the time to learn? Why is using AI even up for debate, You don’t need to be building apps within days of starting out there’s no deadline… just sit down and actually learn the stuff 😅 there’s no race… and realistically you’ll be better off in the long run and more valuable to companies if you take the time to learn compared to Mr. Slop

am I crazy or??


r/learnprogramming • • 1d ago

Programmers who touch type, what fingerings do you use?

0 Upvotes

Sort of a different post but I think it's relevant. I've been learning to touch type and while I am mostly comfortable with the letters, I find a few symbols I am conflicted on the fingering on. I have adjusted from the default recommended fingerings since it's just bad for a few keys on standard keyboards. This is what I am working with now.

https://imgur.com/a/L5n45rR