r/learnprogramming • u/yourbasicgeek • 5h ago
Carnegie Mellon's School of Computer Science is putting full classroom lectures from its faculty on YouTube for free
Includes 15-110 Principles of Computing and 11-768 AI Agents.
r/learnprogramming • u/michael0x2a • Mar 26 '17
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:
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 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.
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 • u/AutoModerator • 1d ago
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:
This thread will remained stickied over the weekend. Link to past threads here.
r/learnprogramming • u/yourbasicgeek • 5h ago
Includes 15-110 Principles of Computing and 11-768 AI Agents.
r/learnprogramming • u/notrobinnot • 11h ago
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 • u/This-Standard-7014 • 4h ago
Hello everyone!
I am in my master's course in communication systems and last semester I took a course in secure software engineering in which we basically fixed some bugs in an existing website and made it more secure against certain cyber attacks. I had a lot of fun during the course and I thought maybe switching up and learning a little bit of webdev would be fun and would look good on my résumé. I have a bit of a knowledge of programming languages and html. I want to build something from scratch in my learning journey and I thought what better could it be than to gift my boyfriend a website designed by me on his birthday.
I want your suggestions on how I could start with learning webdev in 2026 with all the existing AI tools. Which processes are automated and which I need to learn. If you guys have any recommendations on YouTube videos I can refer, any courses I can take up, any other learning advice. I want to simultaneously build my résumé and upskill as well.
Any suggestions and recommendations are welcomed hope you help out a newbie here!
r/learnprogramming • u/DiverAdditional4451 • 1d ago
i’m 16, and i’m pretty proficient with html, css, js, react and next js, all fully self taught.
one thing i’ve struggled with a lot is consistency. most of what i’ve learned has been through online tutorials, but my learning has been really spaced out between breaks, losing motivation, sometimes just quitting and eventually coming back to it. it’s taken me around 2 years to learn all this stuff, and i feel like it could’ve been a lot faster if i had a better way of doing it.
im curious how you guys actually stay consistent with self teaching, what issues have you run into, if any, and what you’ve done to overcome them. have you ever struggled with knowing what to learn next or just finding good resources?
i’m trying to figure out how to make my own learning process more efficient, so i’d like to hear how you guys approach it
r/learnprogramming • u/WebGlobal7912 • 15h ago
Long story short I'm a cs student who abused AI way too much to complete assignments and other coursework and somehow got away with it. I'm aware that my raw skills are very subpar and was wondering what platforms or resources I should use if I want to take coding seriously and actually get good at it. I'm familiar with C, js, java, python, assembly and shell. I'm not a complete novice so I know the fundamentals but want to develop the reasoning, debugging and problem solving abilities that I missed out on because of AI (ideally as fast as possible). As for theoretical knowledge I can just revise old lectures or slides for that.
I was considering codeforces or exercism but I'm not too sure - but I mainly want to focus on my C, python or java.
Please don't come at me for being a chud I just want to get up to speed
r/learnprogramming • u/Southern-Horse-2472 • 3h ago
guys!! i have build some projects with antigravity. i know some basic react and know c++,java,python. i'm currently learning dsa in c++. what should i do?? i have no idea?? when it comes to building projects should i learn a framework and start doing projects or do projects straightaway or should i follow any course. during interviews do they ask randomly any code in my project?? can u give me an idea on how to actually do project by understanding it. i cannot find any tutorials or basic idea on this. as a beginner how did u learn to build projects. i'm a perfectionist if i cannot understand a concept i cannot move on from that. and people are saying that we need to know the architecture and everything, it feels so overwhelming or maybe i'm complicating it. gimme some advice gng....
r/learnprogramming • u/Mental-Efficiency-32 • 17h ago
Hi guys, I want to know how I can improve my programming skills and learn new technologies more effectively.
When solving programming problems on LeetCode or Codeforces, especially medium and hard ones, I often use LLMs to get hints. After solving two or three problems with their help, I feel satisfied that I've made progress, but in reality, I feel like I've learned very little.
I face a similar challenge when learning new technologies. I sometimes rely on LLMs to explain concepts or provide code. Although this helps me understand things quickly, I struggle to apply that knowledge independently.
How can I develop a better learning approach, improve my problem-solving skills, and gain a deeper understanding of programming and new technologies without relying too much on LLMs?
r/learnprogramming • u/Fictoriuss • 4h ago
I am learning c++ for 3 years now on. I can write hundreds lines of code in a row without any errors. But unfortunately I still can't write a normal project. When I try something serious I am getting lost in my own code. I built few simple games, few simple neural networks and a lot of simulations/emulations. I used ai only in visual libraries that I don't understand.
My 15 years old laptop runs on arch linux. For code writing I using micro and nano text editors and g++ for compilation.
How to write a real project? Not just core of a programm but really big peace of code that works properly?
r/learnprogramming • u/Vivid-Cash576 • 1d ago
Hi everyone!
This is a throw away account, hence the low karma, because my partner follows my main one and I don't want him to see this post. Anyways.
I'll try to keep it short. I'm trying to help my husband get out of his head because of something that happened yesterday.
My husband started his degree when he was 35. Despite everyone, mostly family, around him telling him he was too old to study, he went ahead as he had always been passionate about coding and wanted a better life for himself and us.
He is the second top student at his class, and the first is his best friend. They're both incredibly dedicated and capable. He will be 38 next year, when he finishes his degree.
Yesterday, one of his older teachers, that has one year left to retire, gave the entire class a lecture on job searching. Mentioning, of course, that companies now didn't want coders but people that knew how to build code with AI, that no company wants anyone above 30, that the market is super saturated etc.
Now he didn't know how old my husband was. He looks very young for his age, less than 30 even, so when he learned he was 37, his teacher got visibly embarrassed, as there are other students there in their 30s too, and started giving them suggestions, like maybe becoming a teacher, getting into government positions, etc.
Now, my husband usually doesn't let this type of commentary get to him. He hears it a lot but he always says that it won't be his age to stop him from chasing something he wants and settle for what people believe is enough for so and so years old. However, I see the comments his teacher made got to him. He came home sad and is still sulking while he works on his project.
I'm trying to help. Hence, why I'm here. Asking for your opinion. Is the job market really impossible for someone his age? Is there hope for people who start coding in their 30s and get their degree? What can I tell him to prove to him it's not a dead end?
Thank you in advance for any experience you're willing to share.
r/learnprogramming • u/CapableWafer3140 • 16h ago
I’ve been tasked with creating an invigilation timetable. This involves assigning invigilators to specific venues to oversee school examinations. The current system is outdated and manual. Each invigilation session is then manually entered into an Excel spreadsheet to ensure even distribution. I’m not interested in purchasing an app or software to automate this process, I’d prefer to build it myself so that the system can be adjusted if there were to be changes on certain examination days and those who get this task after me don’t have to waste as much time. Given my lack coding skills, any advice on simplifying this task would be greatly appreciated. I’m open to learning coding but have less than a year to complete the project.
r/learnprogramming • u/Akachukwu07 • 1d ago
I (mid 20s) is learning java as my first language, I am slow at it cos I should’ve been able to cover 50% of the course. Is there hope for me in the job market?
I am just about to wrap up with methods (method overloading)
What can I do to become above average and good enough to be able to secure a job?
Is there anything I can do to stand out professionally amidst the threat of AI and programming workforce reduce?
If you are ahead or not, is there anything I can do differently at this stage I am in?
I would really appreciate recommendations and responses.
Thank you!
r/learnprogramming • u/Ok_Confection7715 • 16h ago
college student here, taking a gap year (personal reasons, will be back in college fall 2027)
previous year, in college, I took the fundamental CS classes - (hello world to abstraction, classes, binary trees and other data structures). that was all in java because the school used java.
right now, i am at Leetcode easy / medium(sometimes hint) level but only in java.
I started to really like how these computer related / programming works and spend my freetime doing this. even if it is listening to podcasts and some funny coding videos.
On youtube, I watched this one podcast (signals and threads) which Andy Ray and Minsky guy talked about hardware stuff - ASIC and FPGA. with my foolery time on youtube, i kind of got sense of what they were talking about, with great help of Claude which summarized it for my level.
I started to wonder how computers and DSA stuff really works (i did not know what memory was at this time) under the hood. I just thought itd be fun to understand
so i decided to self study CSE class (i still have access) ,while i was taking self studying CSE class which teaches hardware/software interface (similar to CMU one), i began to be more interested in these fields.
Learned assembly, Instructions, bits and bytes, caches, malloc, ...
after taking this, i can say i know a bit about these things now and can explain generally to a non-technical dude. but id like to study more.
also maybe master C or C++. (thinking about doing leetcode or codeforces in C++??)
anyways, advice on directions would be nice.
I love listenign to jane street podcast because they talk about how to make things faster and more efficient (which is pretty much what they need to do for more money). im not that interested in money making or "quant" job or anything, just the fact that improving speed or any sort of "improving" makes me excited.
One day, id want to be at a level where i can find a bottleneck of these computers and understand ways to improve,
(Also i dont want to learn web developments and all the pure software side of things, just not that internested yet.)
any advice would be nice.
thanks
r/learnprogramming • u/Scary-Combination-67 • 17h ago
While solving a CodeForce problem, I know this problem is very basic and easy, I was just getting started.
But while solving I thought about this. How could I improve my code and make it more efficient and fast.
If you want to improve a code and make it more efficient and fast what you exactly think to change and why that change will affect the performance.
I know it does depends upon the problem itself(Like that's why there are more version of a program rather than just V1; V2, V3... is improved in terms of performance, etc. so I know it does takes time), but still.. for a small problem like this one. How could you think to improve it?
This problem there are many ways to solve it, look at this
#include <stdio.h>
int main() {
int n;
scanf("%d", &n);
switch (n % 2) {
case 0:
printf("YES");
// Instead of using break, I used this return.
// Cause I thought if I use break the program,
// the program will leave this switch statement,
// then go down and check if any statement to execute.
// But, here, It has none so if I just use return 0,
// I could improve it's performace(I don't know it does helps or not)
return 0;
default:
printf("NO");
return 0;
}
return 0;
}I know the last statement won't get executed but still if in real life if everyone uses this approach (if there is no code below), won't it be a little faster. Like not only use this but these kind of approaches.
Like in python I would do something like this.
print("YES" if int(input()) % 2 == 0 else "NO")If I used a standard or like normal approach in this way. I think it's slower. Cause it needs to create memory for n and also free it up. But in above it does not need to allocate or free memory for any number(I think), unlike this below one. Like think my program has more code to execute but it does not need the value of n(this input) and in the below it won't free memory of n after the code but the above one it will(it won't even store it)
n = int(input())
if n % 2 == 0:
print("YES")
else:
print("NO")Like is there still any way to improve it. I just want to solve it, not validate the inputs, etc.
r/learnprogramming • u/mecdev • 1d ago
Hi everyone,
I am 20M and currently in the second year of a Computer Programming associate degree program. I mainly work with Java and have experience with Spring Boot. Im also familiar with Python, PHP, and web development a little bit. My database knowledge is still pretty limited, and I'm working on improving that.
When I graduate, I'm trying to decide between two paths:
Keep building my skills through personal projects and start applying for developer jobs right away or continue with a bachelor's degree in Computer Science or Computer Engineering.
Is it realistic to land a developer job with an associate degree and a good portfolio? Or does not having a bachelor's become a real obstacle, either when getting hired or later in my career?
r/learnprogramming • u/VinhPC • 1d ago
I recently watched "Coding Challenge 166: ASCII Text Images" by The Coding Train and "I Tried Turning Games Into Text" by Acerola and was pretty fascinated.
So I got the idea of ASCII art but with whole words. Like I give the program an image and a paragraph and it outputs ASCII-like art comprised of words in the paragraph. They can be placed randomly (so yes, the original paragraph doesn't need to be retained), but the words can't be separated (e.g. words -> wor and ds). And, if for example the word "This" appeared 5 times in the paragraph, then the output must also have at most 5 "This".
Here's an ugly example output I typed
the words used are
from a text file
and they don't
have to
be in
order they
can be
placed all
all over
the placeI've tried searching around for an existing implementation but haven't found anything yet.
To achieve this, I need an algorithm to calculate the density (and potentially even edge detection) for whole words, and an algorithm to smartly place a word into adjacent pixels, right?
I'd appreciate any help on how I should go about this.
r/learnprogramming • u/idkilikephilosophy • 1d ago
Personally my favorite language is c# but it varies since i dont have much experience in c++ or rust
r/learnprogramming • u/Good-Photograph-2883 • 1d ago
Hey everyone, I graduated last June, and I have been job hunting ever since. Out of over a hundred applications, I’ve only managed to land a handful of interviews, and I almost always feel completely unprepared for the technical coding assessments. I’m hitting a few major problems that I hope you guys can help me with. First, my background is primarily in full-stack web development, but when I try to grind LeetCode, it feels entirely disconnected from the day-to-day work I did when I was an intern. My current and only project experience revolves around CRUD, state management, API integration, and database interactions rather than the data-structure-heavy problems on LeetCode, making it hard to balance interview prep with practical skills. I'm also overwhelmed by fragmented job postings demanding everything from Java and Ruby to TypeScript, PHP, or Python, and it feels impossible to handle the tech stack whiplash without trying to master five languages at once. Finally, I feel stuck building basic CRUD apps, and I'm struggling to find a clear roadmap to learn more complex, enterprise-level concepts.
Because of this, I'm looking for tips or alternative resources on how to prepare for coding assessments (do I just keep grinding LeetCode problems?). I'd also love recommendations for good YouTube channels, documentation, or websites that teach web development from scratch through actual problem-solving rather than passive follow-along tutorials where I just copy their code. Finally, any advice on what key topics I should focus on to keep up with current industry demands would be huge. Thanks!
r/learnprogramming • u/rexdlol • 1d ago
I love C++. Although, in my studies, i really want to learn things like how exactly shared libs work in memory, or things like that. I never really contributed to an open source project and github is really confusing to me (im learning by myself).
May someone give me a light of how can i learn all of this concepts to kinda master this language? Like, C++ is so cool hehe
Thanks!
(im trying to learn graphics programming [opengl], maybe im gonna stick to this to a carrer on that. idk..)
r/learnprogramming • u/freakkdrama • 1d ago
I have just started DSA so whats the best way to start and how to solve a leetcode a day cause i have no deep knowledge about DSA?
r/learnprogramming • u/Rakibul_Hasan_Ratul • 1d ago
While we already have std::cout and we can use it with the overloaded operator <<, I am wondering why C++23 has std::print. Both offer compile time type checking and compile time safety.
I generated the asm thru `g++ -O2 -S` and discovered that a Hello World program that uses std::cout generates ~30 lines of assembly and the same program that uses std::print generates ~29,000 lines of assembly!
Why do we need a separate way just to print on the console? Just because std::print offers cleaner syntax? What does std::print really solve?
r/learnprogramming • u/Anchallyarr • 1d ago
Title: Looking for interesting GenAI + MERN stack project ideas
Hey everyone!
I'm planning to build a full-stack project using the MERN stack and Generative AI.
I'm looking for ideas that go beyond a basic AI chatbot or simple API integration. I'd love to build something that solves a real-world problem and has practical use cases.
I'm open to exploring technologies like:
If you've built something interesting or have any unique project ideas, I'd love to hear your suggestions!
What GenAI project would you build if you wanted to create something genuinely useful?
Thanks in advance!MERN stack project ideas
r/learnprogramming • u/Nice_Pen_8054 • 1d ago
Hello,
What is the path for a future WebXR dev?
Right now I am studying the CS50x course from Harvard.
Is there something else I should learn along with it?
What is after that?
Thank you.